> -----Original Message----- > From: honyk [mailto:j.tosov...@email.cz] > Sent: Wednesday, June 26, 2013 1:27 PM > To: 'Tomcat Users List' > Subject: Memory limits for children processes when running Tomcat as > service? > > Dear All, > > I have a JSF2.0 app that executes (via ProcessBuilder) an external > script. > This script opens PPTX via PowerPoint ActiveX object, manipulate it and > save. It runs on Windows Server 2008 R2 64-bit, 4GB RAM, JDK 7. > > When tomcat 7 is launched using startup.bat (with original settings), > it works fine. > > When tomcat runs as a service, opening the PPTX in the PowerPoint fails > because of Out Of Memory error regardless Xmx settings (tomcat7w.exe). > > I originally asked PowerPoint forum, but haven't get any explanation > yet: > http://answers.microsoft.com/thread/37cbebf6-4003-4ab0-9295- > 92413aaecc2e > > But as the entry point is Tomcat and the only difference between > problematic and non problematic behavior is the 'service' mode, maybe > there is something related in the tomcat7.exe code base. Just guessing. > > Has anybody an idea why both modes behave differently? > > Thanks, Jan
What user is the Tomcat service running under? What other differences could exist between a user session (running with startup.bat) and a background session? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org