Michael,
I then start the program with
java -Xms145M -Xmx160M test
If I understand this correctly, the initial heap size should be 145 megs.
However, looking at my processes, there is only about 7200K allocated for
the
program. Why doesn't it start out at 145? That is the same behaviour
I then start the program with
java -Xms145M -Xmx160M test
If I understand this correctly, the initial heap size should be 145 megs.
However, looking at my processes, there is only about 7200K allocated for the
program. Why doesn't it start out at 145? That is the same behaviour I'm
No space and capital M works for me (i.e. -Xms256M -Xmx384M), but
I'm not sure what is required.
Randy
-Original Message-
From: Michael Molloy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 8:47 AM
To: Tomcat
Subject: Help giving Tomcat more memory
I'll give that a try. Thanks.
--Michael
On Thursday 24 January 2002 09:03 am, you wrote:
No space and capital M works for me (i.e. -Xms256M -Xmx384M), but
I'm not sure what is required.
Randy
-Original Message-
From: Michael Molloy [mailto:[EMAIL PROTECTED]]
Sent:
Okay, I tried Randy's suggestion below, no spaces and a capital M, but the
application still ran out of memory around 79 megs (Windows 2000 Server).
I'm fiddling around with a simple java program on my linux box trying to
figure this out. My main method is
public static void main(String