Skip to main content



      Home
Home » Eclipse Projects » GEF » Is there memory limitation for draw2d figures, pane
Is there memory limitation for draw2d figures, pane [message #529232] Fri, 23 April 2010 09:50 Go to next message
Eclipse UserFriend
Hi,

In my eclipse RCP application i have a diagram view containing large
number of polyline figure objects. All these figure objects are added to
scaledLayeredPane. (Figures -> ScaledLayeredPane -> ScrolledComposite).
When application is run from IDE, it does not crash. After exporting
product, it crashes after certain operations with following message:
" Exception in thread "Main".

If I add extra heap by changing vm args in product, the application does
not crash.

Is there any memory size limitation for Figures, ScaledLayeredPane or
Composite.
Or is there any way by which we can calculate the maximum capacity for
these draw2d elements?
Can we free memory during view clean up and redrawing?

Any pointers in this issue will be great help.


Thanks and Regards,
Sneha
Re: Is there memory limitation for draw2d figures, pane [message #531038 is a reply to message #529232] Mon, 03 May 2010 09:25 Go to previous messageGo to next message
Eclipse UserFriend
Whats the exact exception???
Re: Is there memory limitation for draw2d figures, pane [message #532474 is a reply to message #531038] Mon, 10 May 2010 03:58 Go to previous messageGo to next message
Eclipse UserFriend
There is no stack trace for the exception.
The application crashes with the message "Exception in main" on console.

-Thanks,
Sneha

vijay wrote:
> Whats the exact exception???
Re: Is there memory limitation for draw2d figures, pane [message #532478 is a reply to message #532474] Mon, 10 May 2010 04:31 Go to previous message
Eclipse UserFriend
Pls check the .log file located in
[workspacefolder]/.metadata/.log

Previous Topic:[SOLVED]Problem with Property View
Next Topic:scrolling when you drag something to the edge of the canvas
Goto Forum:
  


Current Time: Wed Jul 23 19:14:12 EDT 2025

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

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

Back to the top