Weird Problem: Difference between javaw.exe and java.exe (?)
Posted on 2003-03-26
I hav programmed a little app and noticed a very weird memory-poblem:
When I create an executable-jar File of my compiled source and run the App,
the task-manager tells me that this process ("javaw.exe") needs ~20 MB of Memory.
That's way too much, it is no big application... And it doesn't get less, indeed it
does increase the amount of needed RAM a little bit.
When I directly open a DOS-Propt and start my App. by typing "java ProgramName", then
the TaskManager tells me that this process ("java.exe") needs ~20 MB of memory, too.
But after a few minutes the amount of needed RAM decreased to about 240 KBytes! Like
it should be...
So what is the difference between javaw.exe and java.exe?? Why does running the JAR need permanently
that much memory (20 MB), while normal executing behaves as it should normally behave (pending memory-use
between 200KB and 8 MB). How can I change that?
Thank you for your answers!