Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Memory consumption(not release mememory)
Memory consumption [message #1094651] Sun, 25 August 2013 22:47 Go to next message
Eclipse UserFriend
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 09:50 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 13:25:15 EDT 2025

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

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

Back to the top