Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » CTabFolder performance issue
CTabFolder performance issue [message #98093] Mon, 14 July 2008 23:18 Go to next message
Eclipse UserFriend
Originally posted by: tavoaqp.gmail.com

Hi everybody
I have an application that contains one CTabFolder with 16 CTabItems,
each one with, in average, has 14 Group objects, half of them contains 4
or 3 checkboxes, and sometimes a Text and Button (this button, when
clicked, shows a dialog).
I know my app uses lots of widgets, but there may not be another way
around to reduce the number of controls since our client wants to see them.
My question is: how to reduce the growth of memory use in IE6 (and IE7)
compared to Firefox 3.0?. In my tests, Firefox 3.0 uses an average of 72
MB of RAM, but in IE6 (with XP Service Pack 3 that includes latest
Javascript patch) it uses 183 MB.
The difference is huge and I'm looking for solutions regarding IE
performance. Is there any Group or CTabItem bug that increases memory so
much in IE? Please help me!

Gustavo
Re: CTabFolder performance issue [message #98358 is a reply to message #98093] Tue, 15 July 2008 14:45 Go to previous message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Gustavo,

Gustavo wrote:
> Hi everybody
> I have an application that contains one CTabFolder with 16 CTabItems,
> each one with, in average, has 14 Group objects, half of them contains 4
> or 3 checkboxes, and sometimes a Text and Button (this button, when
> clicked, shows a dialog).
> I know my app uses lots of widgets, but there may not be another way
> around to reduce the number of controls since our client wants to see them.

You can probably improve both memory consumption and startup time if you
create the contents of those items lazily, i.e. not before the tab item
is being selected. That's what the workbench does and we also used this
approach in our controls demo application. Assumed that not all users
will use every single tab in every session, this can save a lot of
client memory.

> My question is: how to reduce the growth of memory use in IE6 (and IE7)
> compared to Firefox 3.0?. In my tests, Firefox 3.0 uses an average of 72
> MB of RAM, but in IE6 (with XP Service Pack 3 that includes latest
> Javascript patch) it uses 183 MB.
> The difference is huge and I'm looking for solutions regarding IE
> performance. Is there any Group or CTabItem bug that increases memory so
> much in IE? Please help me!

We are aware of the performance problems in IE and we tried hard to get
a grip on them. One approach is to reuse widgets from a pool instead of
always creating new ones. Unfortunately, this does not work reliable
with our current client library, but seems to work with its next
version. So, there is hope.

We don't know of a bug in a single widget that causes disproportional
memory consumption.

Best Regards,
Ralf
Previous Topic:RAP for big applications
Next Topic:Could the RAP draw 2D graphics?
Goto Forum:
  


Current Time: Tue Apr 16 13:41:42 GMT 2024

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

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

Back to the top