I am getting horrendous memory problems with 1.5.2. I'm not doing anything abnormal, just standard GWT, the occasional DOM read and one JSNI read (to get around the new getAttribute 'feature').
The javaw image starts off around the 130Mb size and will increase by about 8-10Mb every time I press F5. This for a compiled app size of 230K. It never seems to get garbage collected - anyway, it's hit 3/4 of a Gig before now. Cutting out whole swathes of code (e.g. commenting out the main menu and basically leaving the header image and a copyright) reduces the per-F5 increase, but doesn't change the pattern. Compiled, it's fine. Ian 2008/9/10 KidA78 <[EMAIL PROTECTED]> > > Hey all, > > I've been using Microsoft's JScript Leaks Detector on a GWT app. It's > a very extensive application with hundreds of classes, listeners, > custom widgets, etc. > > Using the application does not seem to show any problems of a leak, > it's only when I refresh a page, or if I navigate to another site > (like cnn.com), it shows a large heirarchy of <div> and <input> tags, > memory leak on mouse events, as well as on Object_toString, > Object_equals, and Object_hashCode > > There's a ticket out there about a memory leak issue on 1.4.6 that is > fixed by upgrading to 1.5, but upgrading to 1.5 is not an option at > the moment. > > My Questions: > > > 1) Is this behavior that others have experienced? > 2) What impact have you seen long term with these leaks > 3) Is the JScript leaks detector an accurate observer of memory leaks > and finally > 4) Are there workarounds that others have tried? > > Thanks much > > Paul > > > > -- Ian http://examples.roughian.com 2B or not 2B, that is FF ========================================================================================= Internet communications are not secure and therefore I will not accept legal responsibility for the contents of this message. Any views or opinions do not necessarily represent what I really think unless otherwise specifically stated, and even then, I might still be lying. This message may contain confidential privileged information, but if it does, I've nicked it from someone else. If you have received this email in error then tough, hit delete, and don't bother me about it, I really don't care. Batteries not included. Contents can go up as well as down. Shares can vary in size. May cause drowsiness, if affected, go to sleep. ========================================================================================= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
