Fine Tuning Memory on 6.5.2

We recently had a memory error that crashed our server:

2010-10-29 15:01:56,240 ERROR [PSVelocityAssembler] Problem assembling output for item: 14-101-20097 with template: BGSU_Sn_Navigation_Left_Navigation_Bar
java.lang.OutOfMemoryError: PermGen space

Can anyone give me any tips on fine tuning our memory settings. We’re using 6.5.2 on RHEL 5.4. Here is our current RhythmyxServer.ja file:

-Xmx2048m -verbose:gc -Xloggc:/usr/local/rhythmyx_prod/Rhythmyx/garbage_collect.log

I’m thinking that I need to increase the -XX:MaxPermSize, but not sure what this should be set to.

I’d appreciate any help/suggestions.

Chris

This is where instances of Class are stored. By default, the max size is 64M. I would set -XX:MinPermSize to 64M and max to 128M.

Hi,

This document may be useful, and helped resolve our out of memory issue.

HowtoIncreaseJVMHeapSize.pdf (26.8 KB)