SMC Out of Memory

The Solibri Model Checker (SMC) product information page states that at least 4 GB of RAM is recommended to run SMC.

However, even a powerful machine with 32GB of RAM, for instance, may still run into memory issues when opening extremely large IFC files. Normally this out of memory error will appear as the message “Reading of IFC Model Failed – Java Heap Space” seen below:

tt01

The java heap is essentially the amount of memory SMC is able to use. To work around this type of memory issue you can increase the “Mmx” option that specifies the maximum heap size. To do this, open the .vmoptions file in a plain text editor for editing such as Notepad.  The .vmoptions file is located in the program files folder of SMC as listed below:

C:\Program Files\Solibri\SMCv9.7\Solibri Model Checker v9.7.vmoptions

The first line of the file lists the maximum heap option, which is set to 4GB by default.

tt02

Assuming you have the corresponding amount of RAM installed on your machine, you can try doubling to 8GB by changing the first line to read “-Xmx8192m” and resaving. If the error message still occurs, you can try doubling the size again by changing the first line to read “-Xmx16384m” assuming you have 16GB of RAM installed on your machine.

If the problem still persists, please feel free to send a support request regarding the issue to support@solibri.com


Editor’s Note: The following section was added 5/4/2017 with regard to instructions for MAC.

The following instructions apply for MAC users in editing their vmoptions.txt file:

  1. Goto Applications -> Solibri Model Checker vX.X
  2. Right-click in the top of icon ‘Solibri Model Checker vX.X’ NOTE: double click will start SMC
  3. Select ‘Show package contents’
  4. Inside the package go to Contents > vmoptions.txt
  5. Open vmoptions.txt in textEdit (start text textEdit and drag&drop file to it)
  6. The file contains all same parameters than VMoptions file in Windows. Edit or add parameter as asked above
  7. Save the modified vmoptions.txt to your desktop (use the same file name)
  8. Drag and drop the new file to the original package overwriting the original version of vmoptions.txt
Advertisements
SMC Out of Memory

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s