To round out the info, I am using MochiKit 1.3.1. And actually, the same issue seems to affect IE, Firefox 1.5.1, and Safari. We did try MochiKit 1.4 also, but it seemed at quick glance to have a similar problem (becoming unresponsive after a while, though I haven't specifically watched memory usage).
Here's a minimal version of the problem code (very minimal): function set_message(message) { var div = getElement("message"); replaceChildNodes(div, message); } function process_data(feed_data) { set_message(null); callLater(10, request_updates); return; } function request_updates() { set_message("Loading..."); var data = loadJSONDoc("get_rss.cgi"); data.addCallbacks(process_data, connection_error); } connect(window, 'onload', request_updates); Obviously, the real version of process_data() does some more interesting stuff with the 'feed_data' (create some TRs and then replaceChildNodes() using them). But even this minimal version shows the memory leak. I watch the memory in Gnome System Monitor (but some other tool would be the same), and it increases by about 0.5 megs each reload... the loaded data is identical on each load (for the test system), and happens to be 150,446 bytes. It's not hard to believe that the string converted to a data structure might eat a little more memory though (assuming that is the leak). Yours, David... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---