On Fri, Feb 6, 2009 at 6:02 PM, Rick Root wrote: > On Fri, Feb 6, 2009 at 3:26 AM, Jochem van Dieten wrote: >> >> Do you really have that many templates that you need a 256 MB Max Perm >> size or are you just guessing? > > you got me :) We only have a few hundred templates, but we've got > 7,000 unique web sites all running in a single application scope, and > we cache a fair amount of data in memory to avoid hitting the db on > every request...
But the perm size scales with the number of templates (or more precise classes), not with the number of instances. So caching does not require changes to the perm size. >> For a much deeper overview of what is happening add the following options: >> -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -verbose:gc -XX:+PrintHeapAtGC >> >> The amount of info this will dump to STDOUT is significant, so if you >> run this in a production environment you probably want some script to >> parse this into graphs. > > I'll give this a try sometime. It will show you your perm space usage as well :) Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318986 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4