I would suggest increasing the perm size -XX:MaxPermSize=256m or to
-XX:MaxPermSize=512m - Perm Size is not heap, -Xmx will not help there.
I used to run into this issue as well when the XML files bootstrapping
from were too deeply nested.
Ruben
Anne-Marie Scheidegger wrote:
Hi list
We recently moved a couple of our Magnolia apps to 3.6.5 and are
getting Perm-Gen OutOfMemoryExceptions. After increasing the memory
heap crash after crash to now:
CATALINA_OPTS="-Xms256M -Xmx1536M -Djava.awt.headless=true"
it seems to me that there must be a leak somewhere.
The app with 1536MB RAM contains more than one site (13 at this point,
some very small, total amount of data less than 1GB based on backup
xls files), so I don't expect it to run with 128MB. But 1536MB? That's
not an "ultra-low memory footprint", is it?
Is anyone else experiencing similar problems? How much memory do your
apps use? Does memory use increase proportionally to increase in data?
Are there tricks to keep memory usage low? Did memory usage increase
from 3.5 to 3.6?
Thanks for any help!
Anne
OS: Linux
Java: 1.5
Tomcat: 5.5.27 (starting Tomcat with catalina.sh start, having set
CATALINA_OPTS in setenv.sh)
Magnolia: 3.6.5 CE, with DMS, no workflow, versioning not enabled,
doing nothing special with caching, Jackrabbit NOT replaced, no
external database
Did I forget an important piece of info?
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------