Apache/Tomcat 5.5.16 Out of Memory Error

Posted on 2009-12-16
Last Modified: 2013-12-02
I'm running Apache/Tomcat 5.5.16 web server right out of the box - no special configurations.

I upload one of my apps repeatedly .That is , I deploy/undeploy frequently.  I'm getting the following error after maybe 50 times of doing that.

java.lang.OutOfMemoryError:PermGen space when I try to use the JSP/JSTL application that I frequently deploy/undeploy.

Any ideas?  Is this a web application, web server, or server machine problem?
Question by:lcor
    LVL 27

    Accepted Solution

    LVL 27

    Assisted Solution

    LVL 27

    Assisted Solution

    This is what I did find:

    -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled
    LVL 6

    Assisted Solution

    probably you are doing hard deployment and there could be some memory leaks in your application. Debug your application and see if all network or I/O or databse related objects are properly released.

    Increase jvm memory settings using -Xms and -Xmx parameters for java command inserver start up script if required.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Suggested Solutions

    Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
    There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now