Matthew Smith wrote:

> Firstly, does anyone have any configuration tips for getting CFMX to
> better manage the available
> server memory?  It doesn't seem to ever release the memory and a
> complete system reboot seems to be
> the only way to clear it.  We currently have 1.25Gb installed and the
> simplest solution would be to
> just add more physical RAM but surely there is a way to get CFMX to
> better handle the available
> RAM?!

I would check the value of your Max Heap Size in CF Administrator, the CFMX's memory usage should not exceeds that value, you may have it set too high.

Even though objects may be "freed" by the garbage collector, it doesn't necessarily mean that a proportional amount of memory will be freed in the OS. The JVM allocates memory for the heap which may or may not contain any actual objects. When there is contention for space in the heap - the heap grows until the max heap size is reached.

I have posted some info about obtaining the JVM memory usage info from within CFMX on my blog, see: http://www.petefreitag.com/item/115.cfm
The variable maxMemory is the max heap size, totalMemory is how much heap is actually allocated in OS memory.

______________________________________
Pete Freitag
http://www.cfdev.com/
Author of the CFMX Developers Cookbook
http://www.petefreitag.com/bookshelf/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to