Here's what Scott said in 2006:
2006/8/23 Scott Blum <[email protected]> > > Hi Roman, > > There are some very subtle issues at play. In order to run your app > in hosted mode hermetically, we have to load all your classes into an > isolated ClassLoader (that way all your statics are null initialized > and all your static initializers will run). Unfortunately, Java has a > problem properly garbage collecting ClassLoaders if one of that > ClassLoader's classes contains a references to a primitive array type > (like boolean[]). I can reproduce the memory leak without calling RPC > in a simple test case where I use a primitive array. It just so > happens using RPC almost always generates references to primitive > arrays. > > So the short answer is, we're stuck with the hosted mode memory leak > for now, until we can figure out how to make the JVM let go of the > primitive array refs. If anyone has any insight into this issue, > please contact me. > > Scott --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
