On Wed, Jan 08, 2003 at 10:04:56AM +0100, Sebastian Dransfeld wrote: > How do I free kernel cache? I have 768M of memory, and run tomcat 4 and > mysql. After a while the cache fills up to over 400M, and tomcat > complains that it can't get more memory for compiling .jsp pages. But > the system has more memory, only it is locked as cache.... > > Sebastian > > Are you telling your JVM to use all your memory ?
You should start your JVM with -Xmx 700M. Because the JVM can allocate only 96Mo by default.