SWT Tree widget memory usage [message #460421] |
Thu, 25 August 2005 13:39  |
Eclipse User |
|
|
|
Originally posted by: nospam.spam.com
Does anyone know any tricks to reduce the memory footprint of a Tree
widget that has several thousand TreeItems. Based on admittedly
imprecise tests using top to view memory usage, I see the Tree widget
consuming around twice as much memory as the data it is meant to view.
Thanks,
Steve
|
|
|
|
|
|
|
Re: SWT Tree widget memory usage [message #460755 is a reply to message #460488] |
Tue, 06 September 2005 20:36  |
Eclipse User |
|
|
|
Lots of intersting issues in there, some of them involving the VM's.
"Steven Farago" <nospam@spam.com> wrote in message
news:df02av$1fg$1@news.eclipse.org...
> Done. Bug #108327.
>
>
> Steve Northover wrote:
> > Can you please enter a bug report with a benchmark? Thanks.
> >
> > "Steven Farago" <nospam@spam.com> wrote in message
> > news:deo1ld$6qv$1@news.eclipse.org...
> >
> >>In the toy example I used to test the performance and memory footprint,
> >>no. However, we first noticed the memory and performance problems when
> >>trying to view fully expanded trees (where children were lazily
> >>created). In my tests, I was assuming the footprint for a Tree with
> >>several thousand childless nodes was at least as large as that of a
> >>fully expanded tree with same number of nodes with arbitrary
> >>parent/child relationships.
> >>
> >>
> >>Steve Northover wrote:
> >>
> >>>I'm assuming that you are lazily creating subitems when the branch is
> >>>expanded, no? If not, that will reduce memory.
> >>>
> >
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.04681 seconds