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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:47:00+00:00 2026-06-11T17:47:00+00:00

My Eclipse footprint is steadily increasing from 500MB to >1GB without me doing anything

  • 0

My Eclipse footprint is steadily increasing from 500MB to >1GB without me doing anything in particular – just running some log heavy programs. Doing a manual GC, closing and reopening projects does not help at all, once it’s over 1GB it stays there.

I’ve run jvisualvm and found out from the heapdump that hundreds of megabytes are char[] representing log output.

I make it a habbit to close all the consoles of stopped processes, so it’s not that.
Console buffer is set to 1MB (characters). I’ve closed the console view and reopened it again.

I can paste my particular eclipse.ini but I’ve tried different GC and memory settings, different JVMs, different Eclipse versions – behavior is still the same.

To me it seems that the logs are getting stuck with a reference somewhere and never get released. Is anyone else having this problem? Is there a setting somewhere to release memory from old console views?

  • 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-11T17:47:01+00:00Added an answer on June 11, 2026 at 5:47 pm

    Short answer: heap size is not shrinking, only growing.

    Long answer:
    In the end it seemed like a combination of factors. I’m not completely sure what the JVM default options should be, but my XP machine has the Windows performance optimisation set to ‘Server’/’Background applications’. I believe this also causes the JVM to default to the ‘-server’ option instead of the ‘-client’.
    The -server option does not allow the heap to shrink.

    As far as I’ve found out, parallelGC does not allow the heap to shrink.

    The default values for XX:MaxHeapFreeRatio (70) and XX:MinHeapFreeRatio (30) are pretty lazy in giving up free memory. Setting them to 20/10 will result in a heap size closer to actual usage.

    Why is all of this important? Well, if you are developing a desktop application in Java your client might get upset with the ever-increasing memory usage and blame your bad programming. Kind of like what happens with Firefox.

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

Sidebar

Related Questions

Eclipse was working fine just a day ago. But today, when I click the
Eclipse Helios periodically starts running a job which displays Computing additional info. During this
Eclipse was running fine last night, but this morning I tried starting it up
Eclipse is marking findViewById(int) as undefined; it was doing the same thing for getResources(),
Eclipse log complains: Failure 1 (near (: syntax error) My statement is as follows:
Eclipse Vaadin plugin has cool autobuild feature. Just clicking restart application in debug console
Eclipse Indigo is 3.7, and Eclipse Juno is 4.2, but 3.8M1 has just been
Eclipse compiles and runs this jsp just fine but when I deploy to Sun
Eclipse has a Run Configurations screen with a Classpath tab. I had some jars
Eclipse world is totally new to me. I've just installed Tour de Flex plugin

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.