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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:41:10+00:00 2026-05-23T03:41:10+00:00

My current application running on 2GB memory Normal GC cycle. I want to increase

  • 0

My current application running on 2GB memory Normal GC cycle.

I want to increase JVM memory to 4GB to incrase application performance.

will it incraese GC time? If yes how much performance will get affected. Is their any good artical to tune GC?

  • 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-23T03:41:10+00:00Added an answer on May 23, 2026 at 3:41 am

    Short Answer

    Yes, the time will increase. Bigger Heap = Longer Pause Times

    Long Answer

    There are a few factors to consider. How have you configured your GC to run? how big have you sized your young gen? How often do you see full GC’s?

    If you rarely see full GC’s then the difference will be negligible. If you log your GC activity to log you can see the pause times for a partial GC is very quick. The difference between 2GB and 4GB on a partial GC will be around 0.1s. To log the GC activity you can use the following parameters -XX:+PrintGCDetails -verbose:gc -Xloggc:/log/path/gc.log. There are many tools out there which will read this GC log for you, provide graphs and stats such as throughput and total pause times.

    If you are seeing frequent Full GC’s and that is why you want to add more memory then you may want to consider profiling the application instead to see what is eating up all the memory. With a bigger heap, these problems will only cause longer GC’s until you fix the underlying problems.

    In the end you need to try the various configurations, test properly and put into your production environment what will work best for you.

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

Sidebar

Related Questions

I want to create application to fetch the current location data using Java script.
My current application has a JFrame with about 15 actions stored as fields within
We have a current application where user login credentials are stored in a SQL
In my current application I have a form that requires the user to enter
Using the method Application.Restart() in C# should restart the current application: but it seems
Is it possible to fetch the current application version programmatically for use in urls
I came across a problem in my current application that required fiddling with the
I have a pretty standard table set-up in a current application using the .NET
so I'm using LinQ2SQL quite heavily in my current application, and although I have
I need to know how I can detect the current application pool I am

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.