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 05:17:00 UTC

DO NOT REPLY [Bug 38315] 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=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


DO NOT REPLY [Bug 38315] - 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=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





------- Additional Comments From funkman@joedog.org  2006-01-19 12:15 -------
*** Bug 38317 has been marked as a duplicate of this bug. ***

-- 
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 38315] - 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=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


william.barker@wilshire.com changed:

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




------- Additional Comments From william.barker@wilshire.com  2006-01-19 05:57 -------
This isn't the correct way to do it.  Use the tomcat5w.exe executable to set 
this in the "Java Options" box under the "Java" tab.

-- 
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 38315] - 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=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





------- Additional Comments From aparna_maddireddy@countrywide.com  2006-01-19 17:29 -------
(In reply to comment #1)
> This isn't the correct way to do it.  Use the tomcat5w.exe executable to set 
> this in the "Java Options" box under the "Java" tab.

Hi,
I tried that too but it didn't work. Any other suggestions?

Thank you


-- 
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