You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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. The command used to specify the heap size is as follows:

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

For example the following command will attempt to start 3D with a heap size of 1500MB.

"C:\Program Files\WhereScape\WhereScape 3D\jre\bin\java.exe" -Xmx1500m -jar "C:\Program Files\WhereScape\WhereScape 3D\WhereScape-3D-HEAD-bundle.jar"

This command assumes that 3D has been installed in the default install folder of C:\Program Files\WhereScape\WhereScape 3D. If WhereScape 3D has been installed in an alternate location, please update the command accordingly.

For convenience this command could be linked to a desktop shortcut.


  • No labels