Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:50 Go to next message
sneha is currently offline snehaFriend
Messages: 25
Registered: July 2009
Junior Member
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 13:25 Go to previous messageGo to next message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
Whats the exact exception???

---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Re: Is there memory limitation for draw2d figures, pane [message #532474 is a reply to message #531038] Mon, 10 May 2010 07:58 Go to previous messageGo to next message
sneha is currently offline snehaFriend
Messages: 25
Registered: July 2009
Junior Member
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 08:31 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
Pls check the .log file located in
[workspacefolder]/.metadata/.log



---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Previous Topic:[SOLVED]Problem with Property View
Next Topic:scrolling when you drag something to the edge of the canvas
Goto Forum:
  


Current Time: Sat Nov 22 16:47:24 GMT 2014

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

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