Consultor Eletrônico



Kbase P44112: Is there a way to limit the memory used by Progress java processes?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

GOAL:

Is there a way to limit the memory used by Progress java processes?

GOAL:

Is there a way to reduce the "mmap" storage of java processes started by Progress?

FIX:

Java is calling mmap when processing programs. One way to reduce the mmap storage made for running Progress programs would be to lower the maximum heap size (with parameter -Xmx with Java 1.3.x); however this might cause problem such as java.lang.OutOfMemoryError.

The default for -Xmx (heap size) is 64m. This value must be a multiple of 1024 greater than 2 MB.
A sample of lowering the maximum heap size on a Unix platform would be to set the environment variable JVMARGS to "-Xmx 48m" prior to starting Progress or to modify $JVMARGS within $DLC/bin/java_env script.