Page History
In some situations it can be beneficial to specify the heap size on startup of WhereScape 3D; for example when there is a requirement to view particularly large models.
| Code Block |
|---|
Java |
...
path (The path to the java.exe packaged with WhereScape 3D, attempting to use other versions of Java is unsupported.)
-Xmxn (Specifies the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2 MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is chosen at runtime based on system configuration.)
jar file path (The path to the WhereScape-3D-HEAD-bundle.jar packaged with WhereScape 3D.) |
Example
-Xmxn Specifies the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2 MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is chosen at runtime based on system configuration.
jar file path
For example the following command will attempt to start 3D with a heap size of 1500MB.
...