Re: Newbie Question - Windows Installer - JVM Heap Size Error

Jeffrey Fredrick <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi Jeff,

The windows installer is using a Java service wrapper. There should be a
file named wrapper.conf that is being used.  Looking at the copy in source I
see the values:

 # Initial Java Heap Size (in MB)
 wrapper.java.initmemory=3

 # Maximum Java Heap Size (in MB)
 wrapper.java.maxmemory=256

I'm guessing the problem here is that initmemory! If you can confirm that
setting this value higher fixes the problem let me know and I'll increase
it.

Hope this helps...

Jtf

On Fri, Jan 29, 2010 at 2:23 PM, Jeff Chastain <[email protected]> wrote:

>  This is my first time playing with CruiseControl in quite some time and
> the first time I have ever tried the Windows installer.  The installation
> went through with no visible issues.  However, the Windows service fails to
> start.  If I look at the \logs\wrapper.log file, I see this …
>
>
>
> STATUS | wrapper  | 2010/01/29 22:06:28 | --> Wrapper Started as Service
>
> STATUS | wrapper  | 2010/01/29 22:06:28 | Launching a JVM...
>
> INFO   | jvm 1    | 2010/01/29 22:06:29 | Error occurred during
> initialization of VM
>
> INFO   | jvm 1    | 2010/01/29 22:06:29 | Too small initial heap for new
> size specified
>
> ERROR  | wrapper  | 2010/01/29 22:06:29 | JVM exited while loading the
> application.
>
> STATUS | wrapper  | 2010/01/29 22:06:33 | Launching a JVM...
>
> INFO   | jvm 2    | 2010/01/29 22:06:33 | Error occurred during
> initialization of VM
>
> INFO   | jvm 2    | 2010/01/29 22:06:33 | Too small initial heap for new
> size specified
>
> ERROR  | wrapper  | 2010/01/29 22:06:33 | JVM exited while loading the
> application.
>
> STATUS | wrapper  | 2010/01/29 22:06:37 | Launching a JVM...
>
> INFO   | jvm 3    | 2010/01/29 22:06:37 | Error occurred during
> initialization of VM
>
> INFO   | jvm 3    | 2010/01/29 22:06:37 | Too small initial heap for new
> size specified
>
> ERROR  | wrapper  | 2010/01/29 22:06:37 | JVM exited while loading the
> application.
>
> STATUS | wrapper  | 2010/01/29 22:06:41 | Launching a JVM...
>
> INFO   | jvm 4    | 2010/01/29 22:06:42 | Error occurred during
> initialization of VM
>
> INFO   | jvm 4    | 2010/01/29 22:06:42 | Too small initial heap for new
> size specified
>
> ERROR  | wrapper  | 2010/01/29 22:06:42 | JVM exited while loading the
> application.
>
> STATUS | wrapper  | 2010/01/29 22:06:46 | Launching a JVM...
>
> INFO   | jvm 5    | 2010/01/29 22:06:46 | Error occurred during
> initialization of VM
>
> INFO   | jvm 5    | 2010/01/29 22:06:46 | Too small initial heap for new
> size specified
>
> ERROR  | wrapper  | 2010/01/29 22:06:46 | JVM exited while loading the
> application.
>
> FATAL  | wrapper  | 2010/01/29 22:06:46 | There were 5 failed launches in a
> row, each lasting less than 300 seconds.  Giving up.
>
> FATAL  | wrapper  | 2010/01/29 22:06:46 |   There may be a configuration
> problem: please check the logs.
>
> STATUS | wrapper  | 2010/01/29 22:06:46 | <-- Wrapper Stopped
>
>
>
> I found the commented out CC_OPTS line in the \cruisecontrol.bat file,
> uncommented it and even upped the memory amounts (256m/1024m), but I am
> still getting these errors trying to start the service.
>
>
>
> Any ideas what I am missing here?
>
>
>
> TIA
>



-- 
CITCON
Continuous Integration and Testing Conference
http://www.citconf.com/

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.