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 8087971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:56:55+00:00 2026-06-05T18:56:55+00:00

I am running a server application using JVM sunjava-1.6.0_21 . My application is data

  • 0
  • I am running a server application using JVM sunjava-1.6.0_21.
  • My application is data heavy and acts as a cache server. So it stores a lot of long living data that we do not expect to get GC throughout the application is running.
  • I am setting following JVM parameters -Xmx16384M and -Xms16384M.
  • After the required data has been loaded, following is the memory usage of application
  • Total heap space is :13969522688
  • Maximum heap space is :15271002112
  • Free heap space is :3031718040
  • Long term (old gen) heap storage: Used=10426MB Max=10922MB
    Used/Max=95%

Old gen usage – I have confirmed that is due to actual data and is not expected to get free.
My question is that by default JVM sizing of heap space ( it is allocating 10922MB old gen), that is leaving very little free space in old gen section.

  • Can less free space in old gen impact the application?
  • If yes, how should I handle this? Should I experiment with JVM tuning parameters like newratio and try to increase space available for old gen or any other way I should tune the application.
  • 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-06-05T18:56:58+00:00Added an answer on June 5, 2026 at 6:56 pm

    Can less free space in old gen impact the application?

    If your Tenured Gen gets full a major collection will happened and this type of collection is costly.
    You can use the options : -verbose:gc and -XX:+PrintGCDetails to know if Full GC happend too often. If it’s the case so yes it can impact the performance of your application.

    If yes, how should I handle this? Should I experiment with JVM tuning parameters like newratio and try to increase space available for old gen or any other way I should tune the application.

    You can give a try to NewRatio but keep in mind that if your eden is too short your tenured gen will probably get filled faster.

    To conclude, you should use a monitoring tool to have a better idea of the VM options you have to use. It will show you easily how your generations are filled during the app execution, it’s easier to read and understand than gc logs 😉

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

Sidebar

Related Questions

I have a huge application running in glassfish server which creates lot of short-living
Oracle Application server 10g I need to run the long running reports in the
I am writing a server application using Boost Asio: Server: Running io_service.run() from pool
I am running a client/server application using JBoss. How can I connect to the
We have a long running server application running Java 5, and profiling it we
I have a long running C# server application running on Linux/mono, and I have
I am running a server application on a PC which receives UDP packets from
I have a Java server application running on a windows 2008 machine, and I
Hp: having the possibility of running an application server with both a Py interpreter
On a server running a Qt application I got the following error, as soon

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.