Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4601598
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:50:59+00:00 2026-05-21T23:50:59+00:00

We run a large java based application that is under heavy development. Every 3

  • 0

We run a large java based application that is under heavy development. Every 3 to 6 months it seems we have to increase the size of the PERM memory or we risk running out of memory either when the application starts or shortly after coming online. The application is hosted in JBoss 4.2 and tomcat servers.

Our current setting are:

-server -Xms12G -Xmx12G -XX:MaxPermSize=1536M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode

I can help but wonder if this seems awful high.

The PERM memory seems to fill up very quickly on startup. anywhere between 90 to 99% using jstat.

Our web application consists of 30 plus individual war files. In JBoss these are deployed as one large 300MB+ ear file.

Is it normal for a large application to us this much PERM?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:51:00+00:00Added an answer on May 21, 2026 at 11:51 pm

    That is hella lot of permgen space. If it fills up right away, that implies an almost inconceivable number of classes. Is there a lot of duplication in libraries across those 30 war files? You could save a lot of space by loading common libraries from a common classloader closer to the root, rather than in each separare webapp. Try installing common libraries in the server directories.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a semi-large web application that we run locally and I need to
We have an existing java-based heavyweight project that needed an interactive script interpreter. After
We have a large number of Java based servlets/portlets running in a BEA portal
I have an Java application for copying large amounts of data from users' workstations
I have a script that I need to run on a large number of
I have a need to run a relatively large number of virtual machines on
Say you have a large PHP project and suddenly, when attempting to run it,
I have a very large java project, and I was wondering how to quickly
I frequently run into large, non-template classes in C++ where simple methods are defined
Because I run a blog aggregator website which checks a large list of RSS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.