tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38315] New: - OutOfMemoryError : PermGen space
Date Thu, 19 Jan 2006 04:17:00 GMT
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=38315>.
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=38315

           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


Mime
View raw message