You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Asensio, Rodrigo" <ro...@gilbarco.com> on 2006/05/18 17:58:10 UTC

[javajni.c] [error] CreateJavaVM Failed

Hello, I have a production server tomcat 5.5 java 1.5_06 
I have set memory min and max as 2048m and thorows this error

[javajni.c] [error] CreateJavaVM Failed

=) obviosly my server has 4 GB of memory


It work with 1600m , 1024m, etc, but no more than 2000m

Any clue ??
Thanks guys


This message (including any attachments) contains confidential 
and/or proprietary information intended only for the addressee.  
Any unauthorized disclosure, copying, distribution or reliance on 
the contents of this information is strictly prohibited and may 
constitute a violation of law.  If you are not the intended 
recipient, please notify the sender immediately by responding to 
this e-mail, and delete the message from your system.  If you 
have any questions about this e-mail please notify the sender 
immediately. 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [javajni.c] [error] CreateJavaVM Failed

Posted by Mark Thomas <ma...@apache.org>.
Asensio, Rodrigo wrote:
> Hello, I have a production server tomcat 5.5 java 1.5_06 
> I have set memory min and max as 2048m and thorows this error
> 
> [javajni.c] [error] CreateJavaVM Failed
> 
> =) obviosly my server has 4 GB of memory
> 
> 
> It work with 1600m , 1024m, etc, but no more than 2000m
> 
> Any clue ??
Windows OS?

Windows process are limited to 4GB per process on 32-bit systems but 2GB
is reserved for the kernel so each process really only has 2GB to play with.

You can increase this to 3GB per process using the /3GB switch in
boot.ini but there are side-effects you might not like. Google for details.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org