Hi,
I am the author. I knew the memory leak issue long before. I have an unrelease beta version that may be useful. Please see the attachments.
Specifically, please check out the function releaseMemory and menuBarReleaseMemory. It may be possible to copy these two functions to resolve the issue, but I never try it before.
In case you miss out, the last line in jsdomenu.js calls releaseMemory onunload:
Code:
window.onunload = releaseMemory;
Note: The beta version may not be compatible with previous version as I have changed some function names. Still, it should be useful.

Originally Posted by
gandalf97
ddadadmin,
I think that the e-mail to the author will be a big help. I am using IE6 by the way and IE7 is waaaaaaayy down the road. My client is a big company and they move very slowly on stuff like version upgrades.
Twey,
Yes 8MB really kills me. Unfortunately, the site I am working on is an intranet site and is behind a firewall and I can't get access for anyone outside the company. In addition, any code I do post has to be heavily sanitized. Because of the amount of code involved, it really isn't feasible for me to post much code. This means that though I appreciate the offer to look at the page, I am limited to asking questions and posting small snippets.
Why I think it is something about the menubar...
When I implemented the new one, I kept the old one around and I coded it such that all I have to change are a few lines in an include file to switch back and forth. Sure enough, switching back to the old menubar gave a ver slight leak and then switching back to the new and I was leaking around 8MB/load again.
Please let me know if the author answers. I'd be happy to work with him as much as I can to figure out what the problem is.
Regards,
Gandalf
Bookmarks