Memory consumption [message #499528] |
Mon, 23 November 2009 04:08  |
Eclipse User |
|
|
|
Hello,
I have a problem of memory consumption in my RCP.
When I launch my application, the memory consumption is about 100Mo, but during its used, it can rise to 600Mo, and it never decreases after.
I would like to know if it is possible to deallocate memory and how, in order to decrease memory consumption?
Thanks for your help.
David.
|
|
|
|
|
|
Re: Memory consumption [message #501875 is a reply to message #501388] |
Fri, 04 December 2009 04:16  |
Eclipse User |
|
|
|
Hello,
thanks for your answers.
I try to use Memory Analyzer (MAT), but I can't generate the .hprof file. I launch my product, with the VM arguments (Run configuration) :
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8084
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-XX:+HeapDumpOnOutOfMemoryError
Then I perform some actions in order to increase the memory consumption. I can see the consumption climbing from 200Mo to 570Mo in the Windows tasks manager, but no file is generated.
Did I forget something, what should I do to get this file?
Thanks,
David.
|
|
|
Powered by
FUDForum. Page generated in 0.05281 seconds