I'm not sure.. is there a question in there?? The bottom line is: on some version of linux, when you are looking at the output of 'top', it makes things appear as though ALL your java threads (the tomcat threads) have EACH got whatever memory is being used by the *entire* JVM at that moment. which is incorrect. ie:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 11631 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:11.39 java 11632 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:00.00 java 11633 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:05.06 java 11634 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:00.08 java 11635 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:00.08 java 11636 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:00.00 java 11637 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:00.00 java 11638 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:00.00 java 11639 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:04.43 java 11641 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:04.71 java 11642 tomcat2 9 0 93300 91m 15m S 0.0 18.1 0:00.00 java IT looks like 18% of the box's memory is being used by EACH thread. But uh.. add those figures up. It's more than 100%. So the final answer is: the Xnn specifications apply to the ENTIRE JVM, and ALL threads, in ALL applications must share this one amount of memory. Sorry if that was already clear. > -----Original Message----- > From: software [mailto:[EMAIL PROTECTED] > Sent: Friday, March 19, 2004 2:43 PM > To: Tomcat Users List > Subject: Re: Problem with the memory of the tomcat > Importance: High > > > Hi, > when i uses the Xms parameter this parameter is for every application > (every application use 128 indivually) and its threads or this memory > size 128 MB is for all the application and not individually and the > threads too > > > thanks > > > > s --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]