Memory question

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ra0543
Posts: 80
Joined: Wed Jan 14, 2009 12:50 pm

Memory question

Post 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?]
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Memory question

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply