Consultor Eletrônico



Kbase P145285: Why do the Java processes running under Java 1.5 or higher use so much more memory?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/4/2009
Status: Verified

GOAL:

Why do the Java processes running under Java 1.5 or higher use so much more memory?

GOAL:

How can I reduce memory usage of ABL programs using the Sonic Adapter with -SMQconnect?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.x

FIX:

Starting with OpenEdge 10.1C we now use Java 1.5 (or later). Java 1.5 attempts to determine at startup what version of its HotSpot technology to use in order to optimize performance. The possible options are -client and -server. Java checks the CPUs and memory available to determine which choice to make. On some higher end platforms (i.e. more/better CPUs and more memory) it is possible that Java will choose to use the -server option for HotSpot. This is supposed to result in better performance but one side effect it has is that it may call for very high memory usage.

If you are seeing your Java processes using very high amounts of memory (i.e. 10 to 20 times more memory than the same things running versions of OpenEdge prior to 10.1C) you may want to consider modifying the jvmargs settings for the Java processes and specify the -client parameter.