-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Sapna,
On 8/18/14, 3:52 AM, Sapna Kumari wrote: > my bad, correct way to set JAVA_OPTS is > > *set JAVA_OPTS=-Xms512M -Xmx1024M* No, the correct way is to use CATALINA_OPTS. Do you really need a 512M heap to send a "shutdown" request to Tomcat? - -chris > On Mon, Aug 18, 2014 at 12:48 AM, Sapna Kumari > <sapna4...@gmail.com> wrote: > >> Try giving options while creating JVM >> >> set JAVA_OPTS="-Xms512M -Xmx1024M" >> >> >> On Sun, Aug 17, 2014 at 11:55 PM, Thakkilapati, Nagaraja < >> nagaraja.thakkilap...@emc.com> wrote: >> >>> Hi, >>> >>> We have a web application (XCP) which internally uses our java >>> library implementaiton-dfc.jar (the dfc.jar contains API's to >>> access our Documentum functionality). This java library >>> internally uses timer threads which performs the activities >>> need to be executed periodically and demon threads for clean-up >>> activities. >>> >>> We noticed the tomcat runs into OOM:PermGen issue when we use >>> our web application which uses the java library (dfc.jar API's) >>> in the below use case: Use Case: 1. Access a Documentum >>> repository object (size will be in KB's) using the Documentum >>> web application-XCP. 2. Undeploy the web application and >>> redeploy it. 3. Repeat step-1 and 2 couple of times, >>> OOM:PermGen issue can be noticed. >>> >>> Trouble Shooting & Analysis Done: >>> >>> >>> 1. I have tried to comment out all the Timer and Demon >>> threads in our java library (i.e. inside dfc.jar) and tried to >>> perform the use case mentioned above and still noticed the >>> issue with Tomcat App server. >>> >>> 2. Attached the memory profiler to Tomcat and tried to >>> find the shortest GC path, the profiler shows the shortest GC >>> to Tomcat threads. >>> >>> 3. Tried to reproduce the issue using other app servers >>> like WAAS and was not able to find any issues. >>> >>> >>> It appears to me that this is an issue specific to Tomcat app >>> server, can you please let me know whether you have noticed the >>> similar issues in the past and if yes, please specify any >>> workaround/fix available for the same? >>> >>> Thanks, Nagaraja >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> -- Regards, Sapna >> > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJT812TAAoJEBzwKT+lPKRYVssP/A9mT4J48hzXVj90LbDMD7qh zHqr/N5ay7g8rD2eooEZTipNXCzXqWVtCHXdlOGgyudwRbcGhZJJrmXt6umvfctb 0VliXACI+9BHgcLj6zUDFzl9IDeD0KhnmsuGS1IcJ+5o7IzlLw9fgDCwqqKA2YBg i4xV4p3RHZ36+eYYjnAfWZMC1rlbLfb5mZ7ljqh9cPtUDTojFmJdRmpg6kMZZwxE 3l36pnezgjREvabSgtskdCIhPRojbDqR/aZAEw1NAC1Kv5FnFikBnMAEBvCp8/iR URAGBAVsitzQRpdXkj3IjnSiPf3gMl48hjjNNup0tUCvxRhNrMefx1YqWdpqdwrN JZmN0poaJOrBgb2JvyMBe5jFZXCqUudDrUa90RPOnraPVwyQc+fVfLTovd7RUjjN EhXbBSTokWfY3QbBhI5QTtpGMOWNKnJs6j7FGflOWwiCuHZXuA4JKDLiK/02Z211 ig46dYP/oTdsWx3W3pdVmdZm+ocniQBWNyt7pJ/vRHzIQUcylDwenmSG8RNjeGYX NZXUTHonrs6LbGH3QcNnvZHOl6tqqECwqYZ4Nf1F2JQhhMV2H5BC2S3iXfb3/udd lKBXD9FMHYi4Fhb2/XdJUjUOBDv+lcz4ZBWRxEWYDtPi5qr/+vTnJDC9NuRClU8l zCurctuRn7C8PG/Nj0gY =mabS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org