Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C59B10AE5 for ; Wed, 26 Jun 2013 20:11:52 +0000 (UTC) Received: (qmail 44489 invoked by uid 500); 26 Jun 2013 20:11:49 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 44433 invoked by uid 500); 26 Jun 2013 20:11:49 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 44424 invoked by uid 99); 26 Jun 2013 20:11:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 20:11:49 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [76.96.62.17] (HELO qmta10.westchester.pa.mail.comcast.net) (76.96.62.17) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 20:11:42 +0000 Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) by qmta10.westchester.pa.mail.comcast.net with comcast id t0W51l0070xGWP85A8B1iU; Wed, 26 Jun 2013 20:11:01 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.106.98]) by omta12.westchester.pa.mail.comcast.net with comcast id t8B11l00827QCxh3Y8B1fb; Wed, 26 Jun 2013 20:11:01 +0000 Message-ID: <51CB4ADC.7010300@christopherschultz.net> Date: Wed, 26 Jun 2013 16:11:08 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Memory limits for children processes when running Tomcat as service? References: <00be01ce729a$c5de3fd0$519abf70$@tosovsky@email.cz> In-Reply-To: <00be01ce729a$c5de3fd0$519abf70$@tosovsky@email.cz> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1372277461; bh=7g3BVViWKfvdZHI+nSBGhJ5tuz07vbTglgEbbo0+xn4=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=GohMCqaa76ay4PJkqpRvVBnQMnVAuUuB0ZybD8phq+5/ANkdBzVYlyR89npuVd86/ 4XwBxRuYhk2mLbceHP8la7nFibUEQjGoCSctD0IOIonSJgGPqXYP9kkiCefzo4Y/FR f60pXbtvAM9CFyNlWOBWXkx9N9R2qabIV0ksto0n0zVpdTd8pPh4CesSZzATFMyCwQ gBb9c/4AcLoMZfhA0fqpCQo2BoOFRBtPxnq3JMtst86C1D/E1EOoUSV1JVNGjLJ35F 6h2Jvj3jguyiiGI/N9ewtp9M+Q06QCC9po/GusXvXvv/A4h5CWZvPmk0tEUt7kywYi CDiMUkxCTNEeA== X-Virus-Checked: Checked by ClamAV on apache.org -----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