All, I am setting up a brand new webserver with CF9 enterprise, 64bit, CentOS (think free RedHat Advanced server). Unfortunately, the server is not dedicated to CF, it is running MySQL, a mail server, and a few other items. Overall, the new server has 6GB of physical RAM of which I estimate roughly 4GB will be available to CF (I know the databases will be content with roughly 1GB, leaving 1GB for other services).
I would like to know a good recommendation for setting the Min JVM heap size. I did a search and there is not a lot out there on the subject. It seems that there are two ideas that are prevalent, one is to set the size to a low value in order to increase the number of times the garbage collection runs, and the other idea is to set the min value equal to the max value which will cause much fewer garbage collections, but it will be a major impact when it does happen. Is Garbage Collection my only concern? The application will be creating and manipulating many pdf files with image attachments, and this is my primary concern for memory. Right now, I am on a 32bit system with a max JVM heap size of 1024MB and I get an out of memory error about once every other week. With the available memory, I plan on setting the max JVM heap size to 3072MB which I hope is plenty while still leaving memory for CF and any poor estimate on other services. However, I still do not know what to set the min JVM heap size to... I've considered setting the min JVM heap to 256MB, to allow for more frequent GC with a smaller impact, or 1024MB, so that I still can get regular JVM GC, yet the system will not be trying to allocate a bunch of memory every time a pdf is created. I pretty much have discarded the though of making the min size equal to 3072MB, because I do not want a huge hit if GC is forced to run, and if I am not using it, I would prefer the other applications have a little breathing room. So, any suggestions, and as I mentioned earlier, should GC be my biggest concern? I understand monitoring the system is important after the new server is running, but I would like to have a good starting point. Thanks, Frank ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
