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

  • SEARCH
  • Home
  • 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 3433272
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:33:13+00:00 2026-05-18T07:33:13+00:00

I have a Java EE application running on jboss-5.0.0.GA. The application uses BIRT report

  • 0

I have a Java EE application running on jboss-5.0.0.GA. The application uses BIRT report tool to generate several reports.

The server has 4 cores of 2.4 Ghz and 8 Gb of ram.

The startup script is using the next options:

 -Xms2g -Xmx2g -XX:MaxPermSize=512m

The application has reached some stability with this configuration, some time ago I had a lot of crashes because of the memory was totally full.

Rigth now, the application is not crashing, but memory is always fully used.
Example of top command:

Mem:   7927100k total,  7874824k used,    52276k free

The java process shows a use of 2.6g, and this is the only application running on this server.

What can I do to ensure an amount of free memory?

What can I do to try to find a memory leak?

Any other suggestion?

TIA


Based in answer by mezzie:

If you are using linux, what the
kernel does with the memory is
different with how windows work. In
linux, it will try to use up all the
memory. After it uses everything, it
will then recycle the memory for
further use. This is not a memory
leak. We also have jboss tomcat on our
linux server and we did research on
this issue a while back.

I found more information about this,

https://serverfault.com/questions/9442/why-does-red-hat-linux-report-less-free-memory-on-the-system-than-is-actually-ava

http://lwn.net/Articles/329458/

And well, half memory is cached:

             total       used       free     shared    buffers     cached
Mem:          7741       7690         50          0        143       4469
  • 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-18T07:33:13+00:00Added an answer on May 18, 2026 at 7:33 am

    If you are using linux, what the kernel does with the memory is different with how windows work. In linux, it will try to use up all the memory. After it uses everything, it will then recycle the memory for further use. This is not a memory leak. We also have jboss tomcat on our linux server and we did research on this issue a while back.

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

Sidebar

Related Questions

I've got a pretty ordinary Java EE application running on JBOSS. It uses the
I have an Java application running in JBoss in which I have enabled JMX
I have a Java web application running on JBoss using JAAS for authentication. I
We have a Web Java based application running on JBoss with allowed maximum heap
I have a distributed Java application running on 5 application servers. The servers all
We have an issue related to a Java application running under a (rather old)
I have a Java application that launches another java application. The launcher has a
I have a java application that has Web Services published using Axis. With the
I have a Java web application connecting to an Oracle database running on another
We have a couple of applications running on Java 5 and would like now

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.