tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Memory limits for children processes when running Tomcat as service?
Date Wed, 26 Jun 2013 20:11:08 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jan,

On 6/26/13 2:27 PM, honyk wrote:
> 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?

Is it Tomcat that dies or the sub-process? Do you get a stack trace?
If so, post it. Do you get a core dump? If so, post it (at least the
back-trace of the offending thread).

What actually happens, here?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRy0rcAAoJEBzwKT+lPKRYqrIP/AmwKGRflEpEJvhihkCCzExv
XzofHf/Z38uVJ2lPUhsyxcQLX6zjlMNads4vnq0CaFoGY3b/7lQxyj5LNDZ+TxVC
NJzFgO1ZINTpr7YRw8AywaqKrlPRUWqSsWQq2pcAHQhHNq4DbAbUEynyxX0m7TBG
q7XgJZTm6jrh2jm9xBYrnx9q0yid8ytpJ7Gu1yNCF4NHTPLpUKyR3IHyJDW1w6Bs
kQfnGqlq0urAqin00iU1JrsOdsKoyqGzzR1vUuqwPOpnZ/tWhWBxCppjoKIxPTC3
/763n0W26YizKDtJ7NcKoD3XjiuWC8HC4yboKiekJj5dvjffurPx49z3XTiOoPIg
9f9JcYtzJxl0yhu0by5GuFfCz5YcxBl53Pf0AHFgcEyw6kcgbtEe992ckobNa0LS
CVwLSIEiJUBIcc0pO+BQ+lbtNiB9AYQTd0UNScbwBuwywxse1mGoXC4ShanrcCxh
AzVFc2LTxwk2wlO/KHUigZVsBMzNi9RyygpYyMx/Qn5hFN7Kmuly/qRoKNs/792p
69NorGkM5/EqhRCAk7K8tiInghG3SjWsoQ6ux6RI9TgbYA7O08u2mrsDd5DGx9dT
8T0uXpZv6WRlgqC+VpgDCvI/eYJ6y7fAbTdpdDLnlOGHSvPt3ECQrO+IWiYVUwm/
kNURqQy8YrPgqp9Q0Rg1
=jbwa
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message