IBM Support

Limit to the Xmx switch

Question & Answer


Question

Is there a limit to the Xmx switch the eclipse.ini file used with IBM Rational Software Architect on Microsoft Windows?

Cause

Setting the Xmx switch in the eclipse.ini file for SDP tools higher than ~1675MB causes SDP tools to fail to launch with JVM Terminated Exit Code=1 on Windows

This is a Windows operating system kernel limitation due to a 2GB application process assignment.

Answer

Error Code=1 is reported because the application requested more memory than the operating system could allocate.

Xmx has a practical limit of approximately 1.5GB

A full detailed explanation can be found in:


http://download.boulder.ibm.com/ibmdl/pub/software/dw/jdk/diagnosis/dw3gbswitch3.pdf

This problem does not appear to exist with Linux.

[{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 September 2020

UID

swg21294392