ERROR

Out of Memory

Last Published: April 25, 2020

Error Message

An Out of Memory error is reported in two locations for ArcIMS 3.1:

· In the message console of ArcExplorer 3.1—Java edition, ArcIMS Author, and ArcIMS Administrator.

· In the Java Console of ArcIMS Manager and the Java Viewers.

Cause

Not enough memory is being allocated to the Java Virtual Machine (VM) and can be resolved by increasing the maximum memory allocated.

The -Xms (-ms) value specifies the minimum amount of memory that is used by the Java VM. The -Xmx (-mx) value specifies the maximum amount of memory that the Java VM can use. If the Java VM uses the maximum amount, it can signal an Out of Memory error.

Solution or Workaround



  1. On Windows, total virtual memory consists of the RAM memory plus the pagefile memory. This value can be found in the Windows Task Manager on the Performance tab > Commit Charge > Total.

    On UNIX, total virtual memory is a combination of swap space (disk backed memory) and RAM.

    · On SUN Solaris, use the following command to monitor swap resources on your system:

    % /usr/sbin/swap -s

    · On IBM AIX, use the following command to monitor swap resources on your system:

    /usr/sbin/lsps -s

  2. To set the Java VM memory parameters for ArcExplorer 3.1—Java Edition, ArcIMS Author, and ArcIMS Administrator:

    · On Windows, right-click the ArcExplorer 3.1—Java Edition shortcut and click Properties. Click the Shortcut tab. In the Target input box, it is possible to increase the maximum memory value -Xmx256m.

    · On UNIX, open the aejava, aimsauthor, aimsadmin, and aimsdesigner scripts to increase the maximum memory value -Xmx256m.
    Note:
    These parameters can be temporarily changed by specifying this parameter on the command line.

  3. To set the Java VM memory parameters for ArcIMS Manager and the Java Viewers:

    · On Windows, go to Start > Settings > Control Panel > Java Plug-in. On the Basic Tab in the field named Java Run Time Parameters, type the following to set the memory parameters: -Xms24m -Xmx256m. Click the Advanced tab, check Enable Just In Time Compiler, and click Apply.

    · On UNIX, go to <JRE Installation Directory>/bin/JavaPluginControlPanel. On the Basic Tab in the field named Java Run Time Parameters, type the following to set the memory parameters: -Xms24m -Xmx256m. Click the Advanced tab, check Enable Just In Time Compiler, and click Apply.

Article ID:000003868

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic