Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Memory consumption(not release mememory)
Memory consumption [message #1094651] Mon, 26 August 2013 02:47 Go to next message
Andrzej Borucki is currently offline Andrzej BoruckiFriend
Messages: 13
Registered: August 2013
Junior Member
index.php/fa/16030/0/Hi,
I wrote simple program. jar has only 6.8 kB. It is advantage of Java compared to Pascal, than simple programs can be very small, not megabytes.
But if I run it - it has above 20 megabytes.
The worse - if I run from Eclipse, jawaw.exe appears with 22'840 kibibytes (>20 MB) and not disappears when I terminate appliation.
Each time, I compile and run or only run application, appears new jawaw.exe with 20 megabytes memory.




Re: Memory consumption [message #1094998 is a reply to message #1094651] Mon, 26 August 2013 13:50 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Andrzej Borucki wrote on Mon, 26 August 2013 04:47
Hi,
I wrote simple program. jar has only 6.8 kB. It is advantage of Java compared to Pascal, than simple programs can be very small, not megabytes.
But if I run it - it has above 20 megabytes.


Sure, at runtime your application runs in the JVM, which itself needs memory plus all the classes from JRE libraries, needed for running your program. Nothing magic.

Quote:

The worse - if I run from Eclipse, jawaw.exe appears with 22'840 kibibytes (>20 MB) and not disappears when I terminate appliation.
Each time, I compile and run or only run application, appears new jawaw.exe with 20 megabytes memory.


Sounds like maybe you are closing your application window, but never terminate the application process.
Previous Topic:Support for Horizontal selectable accordion metaphor
Next Topic:Resource Change Listener
Goto Forum:
  


Current Time: Thu Mar 28 22:16:29 GMT 2024

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

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

Back to the top