|
From: Uwe L. <uw...@ly...> - 2008-10-27 13:22:52
|
I thought that I had it resolved; however, it appears that when in Service mode the memory error appears right away but when in console mode the memory error appears after a while. I ran Tomcat using the Startup batch file that comes with Tomcat and the error does not appear. The memory settings in the setenv batch file are as follows: XMS=128m, XMX=1024m, and XX:MAXPERMSIZE=256. I'm attaching the wrapper.conf file for your review. If you wish I can generate the wrapper log file running both under console and service mode and the command window using the startup batch file. 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 > > |