Java Memory Usage for SOLIDWORKS Connector

On SOLIDWORKS V6 clients, the JAVA options are read from the IEF client config.xml file. You could experience performance issues and errors during check-in or major resource intensive operations like undo-check-out of a large assembly if these parameters are not set.

Go to C:\Program Files\Dassault Systemes\IEFClientV6R2014X\IEFClientWorkspaceServices\ and open config.xml using notepad.

Config

Overwrite the <javaoptions> string with the following and add <slwjavaoptions>.. string below it. <javaoptions>-Xmx8192m -Xms4096m</javaoptions>

<slwjavaoptions>-Xss512k -Xmx8192m -Xms4096m -XX:SurvivorRatio=2 -XX:NewSize=2048m -XX:MaxNewSize=4096m -XX:MaxPermSize=2048m -XX:+DisableExplicitGC -XX:+UseCompressedOops</slwjavaoptions>

Note: Xmx is the maximum heap and Xms is the initial heap startup parameter. In the example above, Java will use 8GB max and 4GB initial. These values could vary depending on the RAM you have.

Original File:

Original1

Updated Config.xml:

Original2

If you are looking for more information on ENOVIA V6 or InFlow, visit our site at www.inflow-tech.com.

 

Leave a Reply