How do I edit the Java's overriding Environment Variable?

Other Java applications installed on your system may have configured Windows to not allow Insight to allocate the memory you set with the DUG Insight Launcher. If you are getting out of memory errors and believe the memory allocation to be incorrect, you can confirm the memory allocation here.

If this is what you are experiencing, you will need to remove an environment variable called "_JAVA_OPTIONS".

To do this on Windows, follow the steps below.

Configure advanced system settings

Configure advanced system settings
  1. Right Click on My Computer
  2. Click Properties.
  3. On the left panel, click Advanced system settings. This will open the Advanced tab in the System Properties window.

Edit environment variable

Edit environment variable
  1. In the Advanced tab in the System Properties window, click Environment Variables. This will open the Environment Variables window.
  2. In either the System variables or the User variables section, look for the "_JAVA_OPTIONS" variable. Based on the variable value in the example, Insight will use 1GB RAM and not the memory you have allocated in the DUG Insight Launcher.
  3. Double-click the variable or select this variable row and click Edit.
  4. Edit the variable name to something else (effectively removing it by name, but backing it up in case your other Java applications truly require this setting).
  5. Test the other application.
  6. [Optional] If the other application works, you can now go in and delete the renamed variable.

Caution: If you have other Java applications on your system that are using this variable, and given that this setting is there, this is likely to be the case, removing this setting may affect the applications. Hence, we advise to rename the variable and ensure other applications are not affected before deleting.

If you need to merge the variables, contact DUG support at support@dugeo.com.

Insight should now open with the correct memory allocation.