No, Permanent Memory is not where long-lived objects are stored.  These
objects are stored in the Tenured memory space.  PermGen simply holds
the reflective data about your objects and classes (which is why it's so
large for ColdFusion apps).

To increase the size of your Tenured memory, you could specify the
ration of new vs. old.
        -XX:NewRatio=n (where n is the ratio of old to new. Ex: value of
3 means that Tenured takes up 3/4 of total heap)

You can also give the new generation an explicit size, allocating the
rest for old generation
        -Xmn90m (this tell the JVM to allocation exactly 90 MB for Eden
an Survivor spaces)

Hope that helps.  Here some helpful links.
http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp
http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html


Steve Brownlee
http://www.fusioncube.net/


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254625
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to