This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat as Windows service - I can't set more than 768 Mb of memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat as Windows service - I can Watch "Tomcat as Windows service - I can New topic
Author

Tomcat as Windows service - I can't set more than 768 Mb of memory

Ivano Carrara
Greenhorn

Joined: Nov 08, 2010
Posts: 4
I manually installed Tomcat 6.0.29 on Windows Server 2003 R2 and all was fine.

Then I use the "service install Alfresco" command to install Tomcat as Windows service.

Using the "tomcat6w //ES//Alfresco" command I'll set up the "-XX:MaxPermSize=256m" in the Java Options and 1024 in the Initial and Maximum memory pool ... The problem is that I can't set more than 768 Mb of memory because with values great than 768 the service don't starts.

I get the error "Could not reserve enough space for object heap". I'm using JDK 1.6.0_22u and the machine have 4 Gbyte of phisical RAM...

Please, could you help me ?

Thank you in advance!

Ivano
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat as Windows service - I can't set more than 768 Mb of memory
 
Similar Threads
Tomcat 6 as a service
Spring related errors on Tomcat console on deploying WAR in 'webapps' folder
Problems installing Tomcat6 Service
Alfresco custom installation on jboss using Postgres
Is there any memory size limit for each and every workspace in eclipse?