Just out of curiosity, would it even theoretically be possible to have a browser free up all objects and references that are not references anywhere else?
I'm just wondering: do these javascript implementations just suck, or is it something inherent to the language and its definition? At least the behaviour when using eval would be different. I could have objects that are not referenced anywhere, yet eval some user-input that does refer to them.. But other than eval is there an scientific reason its impossible to implement decent memory management in these browser? Anyone got any knowledge they would like to share? Greetings, Ralf 2007/2/20, Andreas Junghans <[EMAIL PROTECTED]>: > Hi Philipp, > > an additional note: To help with debugging, you can use the following > function: > > function countQooxdooObjects() { > var objectCount = 0; > for (var key in qx.core.Object._db) { > if (qx.core.Object._db[key] != null) { > ++objectCount; > } > } > return objectCount; > } > > You have to replace _db with __db if you're using the latest qooxdoo > SVN version. Please note that you shouldn't normally access > properties that start with an "_" directly - this is only for debugging! > > To test for leaks caused by undisposed objects, call the count > function before and after an action. If the count is higher > afterwards, there are some leaks (or some intentionally created long- > lived objects - but the count shouldn't continue to go up every time). > > Regards, > > Andreas > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel