You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/01/19 06:57:15 UTC

DO NOT REPLY [Bug 38317] New: - OutOfMemoryError : PermGen space

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38317>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38317

           Summary: OutOfMemoryError : PermGen space
           Product: Tomcat 5
           Version: 5.0.30
          Platform: Sun
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P5
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: aparna_maddireddy@countrywide.com


Hi,

I am not sure if this is a bug. I tried to fix this problem by setting -XX 
MaxPermSize
but jvm is not setting it.
The environment I am using :

Tomcat 5.0.30
Jdk 1.5
Windows XP

I am seeting in service.bat like this :
set CATALINA_OPTS=-XX:MaxPermSize=256m
"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%
CATALINA_BASE%\temp;-Dcatalina.opts=%CATALINA_OPTS%" --JvmMs 512 --JvmMx 512

I am creating a  service and then starting it.
I have a JSP which shows the Heap/Non-Heap memory allocations including 
PermGen memory.
When I load this page its showing the correct values (the values I am setting) 
for Xmx Xms but for PermGen its showing the default values and not the value I 
am setting. For some reason JVM is not taking the -XX:MaxPermSize. 
But if I set these in catalina.bat like  this
set CATALINA_OPTS=-Xms512m -Xmx512m -XX:MaxPermSize=256m
and run startup.bat JVM is setting all these parameters correctly.

Any help would be greatly appericiated.

Thank You,
Aparna

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 38317] - OutOfMemoryError : PermGen space

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38317>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38317


funkman@joedog.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From funkman@joedog.org  2006-01-19 12:15 -------


*** This bug has been marked as a duplicate of 38315 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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