> From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] > Subject: RE: Is IBM Right About Java?
> if the server experiences a hit on load and increases the > heap, it remains at that level. This is controlled by the -Xms setting; if your current heap is less than -Xms, GC will not return memory back to the OS. We normally recommend setting -Xms = -Xmx, to insure that the JVM does *not* return memory it has allocated. The allocation/deallocation is a relatively expensive process, and ought to be minimized where possible. If you're running a JVM as a server of any kind, you should be giving it all the RAM it needs to cover the heap size plus all the other stuff needed to run the process - at least in a production environment - in order to avoid any chance of paging. In a test or development scenario, you may want to compromise, since performance is likely not a top priority. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org