Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 8th, 2010, 05:54 PM
Registered User
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tomcat as Windows service - I can't set more than 768 Mb of memory

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Tomcat Service is not starting in Windows 2003 Server R2 edition Sanvs Apache Tomcat 0 March 28th, 2009 05:47 AM
Problems with Tomcat as service on Windows Server 2003 monesseldeur Apache Tomcat 2 February 12th, 2009 04:59 PM
How to dynamically set windows service C# ,asp.ne vinod_yadav1919 C# 6 April 9th, 2008 01:51 AM
How to set the windows service logon properties. vickytechi Visual Studio 2005 0 September 25th, 2007 08:27 AM
Tomcat service failed when configured memory pool sangweb Apache Tomcat 0 March 13th, 2007 03:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.