|Re: Memory consumption [message #1094998 is a reply to message #1094651]
||Mon, 26 August 2013 13:50
| Stephan Herrmann
Registered: July 2009
Andrzej Borucki wrote on Mon, 26 August 2013 04:47|
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.
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.
Powered by FUDForum
. Page generated in 0.05467 seconds