Gazebo : LLVM Out of Memory

Hello !

I am trying to run a Gazebo under ROS Melodic within a Virtual Machine running Ubuntu 18.04 using VMware Workstation 12. I am able to run an empty world in Gazebo, like such (I get about 60 fps using glxgears)

gazebo

However, If I tried to run an existing World like such:

gazebo --verbose ./hexy.world

I get the following error :
LLVM ERROR: out of memory

Here’s what I tried so far:

  • Create a 3GB Swap file
  • Increased the dedicated VM RAM to 8GB
  • Search Google for any type of related issue

Anyone has any idea what’s up ?

-Joel