Page 1 of 1

Memory question

Posted: Mon Sep 12, 2011 8:19 pm
by ra0543
My transformations have occasionally been failing because of a lack of available memory. So I have increased the amount of memory available as advised in the manual by setting the parameter in oxygentAuthor13.0.vmoptions (since I start Oxygen via the .exe file):

Code: Select all

-Xmx1024m
-XX:+UseParallelGC
-Dcom.oxygenxml.language=English
-XX:OnError=C:\Program Files\Oxygen XML Editor 13/rp
-XX:ErrorFile=${launcher:sys.tempDir}/oxy_jvm_crash.log
This increased value seems to have cured the problem. However it leaves me curious: what I want to know is why the amount now reported in Help|About under JVM memory total is still only 910MB and not the 1024MB that I have specified.

Since I have 3GB of physical RAM, what setting would you recommend for the -Xmx parameter?

[Also out of curiosity, to what does PermGen: 33MB/256MB refer in the Help|About JVM figures?]

Re: Memory question

Posted: Tue Sep 13, 2011 10:35 pm
by adrian
Hello,

The reason you see 910MB is because the JVM has some overhead.
We usually recommend using at most 40% of the physical memory, however the 32-bit JVM is limited to about 1200MB of heap, so avoid exceeding this value.

PermGen refers to the amount of memory that the JVM uses/can use to load Java classes(code).

Regards,
Adrian