Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Memory Usage, Garbage Collector, JProfiler(total memory won't reduce)
Memory Usage, Garbage Collector, JProfiler [message #1769174] Thu, 27 July 2017 09:15 Go to next message
Umut Kazan is currently offline Umut KazanFriend
Messages: 25
Registered: February 2017
Junior Member
Hello,

My jar holds a decent chunk of free memory after running. Is this a problem or when that space needed, will java give it to the OS?

Thank you,

Umut
Re: Memory Usage, Garbage Collector, JProfiler [message #1769208 is a reply to message #1769174] Thu, 27 July 2017 18:35 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30896
Registered: July 2009
Senior Member
I expect that it keeps that memory of the heap until the process ends. In fact I think however big you allocate the maximum heap size, e.g., -Xmx4g, is all set aside for that process up front. But it's not an Eclipse question...
Re: Memory Usage, Garbage Collector, JProfiler [message #1770265 is a reply to message #1769208] Wed, 09 August 2017 13:42 Go to previous message
Umut Kazan is currently offline Umut KazanFriend
Messages: 25
Registered: February 2017
Junior Member
Thank you Ed, sorry about the unrelated question.

Umut

[Updated on: Wed, 09 August 2017 13:42]

Report message to a moderator

Previous Topic:Why won't a source code be run?
Next Topic:Installing JGit on RedHat
Goto Forum:
  


Current Time: Sat Feb 22 07:19:45 GMT 2020

Powered by FUDForum. Page generated in 0.02928 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top