Thank you.  This helps me understand more.  But I am not running a
standalone java program.  I using tomcat, running servlet and jsp.  Where
should I specify these options? in environment variable?

Susan
----- Original Message -----
From: "Bo Xu" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 4:31 PM
Subject: Re: java.lang.OutOfMemory error


> ----- Original Message -----
> From: "Yinghui (Susan) Zeng" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 05, 2001 4:55 PM
> Subject: java.lang.OutOfMemory error
>
>
> Dear all,
>
> once in a while, the tomcat screen pops up the java.lang.OutOfMemory
error.
> What could cause this, where should I check?
> I am running tomcat 3.1.2 on Window 2000 with apache 1.3.2.0.
>
> Susan Zeng
> [...]
>
>
>
> you can install more memory for your computer, or increase the
> initial/maximum allocated memory-size  when you start TC,
> good link :-)
> http://java.sun.com/j2se/1.3/docs/tooldocs/win32/java.html
>
> -Xmsn
> Specify the initial size, in bytes, of the memory allocation pool. This
> value must be a multiple of 1024 greater than 1MB. Append the letter k or
K
> to indicate kilobytes, or m or M to indicate megabytes. The default value
is
> 2MB. Examples:
>        -Xms6291456
>        -Xms6144k
>        -Xms6m
>
> -Xmxn
> Specify the maximum size, in bytes, of the memory allocation pool. This
> value must a multiple of 1024 greater than 2MB. Append the letter k or K
to
> indicate kilobytes, or m or M to indicate megabytes. The default value is
> 64MB. Examples:
>        -Xmx83886080
>        -Xmx81920k
>        -Xmx80m
>
>
> Bo
> Dec.05, 2001
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to