|
From: Uwe L. <uw...@ly...> - 2008-10-26 20:47:29
|
Based on your comments I did some fiddling with memory in wrapper.conf. It seems that 256 / 512 works on my system 2GB total memory. # Initial Java Heap Size (in MB) wrapper.java.initmemory=256 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=512 Regards, Uwe Lynen -----Original Message----- From: Leif Mortenson [mailto:le...@ta...] Sent: October 26, 2008 1:51 AM To: uw...@ly...; wra...@li... Subject: Re: [Wrapper-user] java.lang.OutOfMemoryError: PermGen space Uwe, Most likely this is being caused by a difference in the memory configuration in the tomcat.bat file and wrapper.conf file. Please try adding the following to your wrapper.conf and then compare the generated java command line to that generated by tomcat.bat: wrapper.java.command.loglevel=INFO If you post back with both generated java command lines, and the contents of your wrapper.conf, I should be able to point out the problem. Cheers, Leif On Sun, Oct 26, 2008 at 12:00 PM, Uwe Lynen <uw...@ly...> wrote: > When I run Tomcat using the TOMCAT.bat in console mode this error does not > happen. When I run Tomcat as a service this error happens almost > immediately. > > > > > > > > Regards, > > Uwe Lynen____________________ > > Tel: 416 690-1973 > > Fx: 416 690-2434 > > Cell: 647 272-6740 > > Personal e-mail: uw...@ly... > > Office: uw...@p-... > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |