About OutofmemoryException [message #466714] |
Mon, 16 January 2006 03:47 |
Eclipse User |
|
|
|
Originally posted by: shikai.cn.ibm.com
In RCP application,if an OutofMemoryException is raised up,how can I do with
it??I used System.gc(),however it seems do not work.
|
|
|
|
Re: About OutofmemoryException [message #466743 is a reply to message #466717] |
Tue, 17 January 2006 02:57 |
Eclipse User |
|
|
|
Originally posted by: shikai.cn.ibm.com
Thank you for your explaination.
And now I checked my RCP app.In this app,all the UI is dynamic
generated.Such as Label,Button,Table.However I think I need not to dispose
then manually.I just use a resource factory to manage my other
resources,such as Color,Cursor,GC,Images.Is it right?And I use sleak tools
to trace my app.I found that only GCs and Cursor is leak.However the memory
is increased with 12M each time.And the Cursors seem to be the same ID.
How can I know where the memory is wasted?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07473 seconds