Adjust the Java heap size settings

Java heap memory is used for the allocation of Java objects at runtime. The default minimum and maximum heap size of a Java VM is variable and depends on the physical memory of the machine. There are various configuration parameters to control this heap memory. The most important parameters are -Xms<value> and -Xmx<value>, which respectively indicate the minimum and the maximum size of the heap memory.

Processing IFC data can consume a lot of Java heap memory. The default memory setting should be enough for processing small IFC files. For bigger files, this default value might be too small though.

If your IFC data processes slowly, or if your application becomes unresponsive while it’s processing IFC data, consider enlarging the Java heap size. We recommend a heap size of:

  • At least 8 GB for processing medium-sized IFC files of 200 MB to 500 MB

  • 16 GB or more for processing large IFC files, bigger than 500 MB