gandalf97
03-30-2007, 04:52 PM
1) Script Title: jsDOMenubar
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/jsdomenubar/index.htm
3) Describe problem:
I have been trying to replace my current menu (menubarAPI4.js) because of numerous script errors it causes. I chose jsDOMenubar because it seemed the best suited for my immediate needs as well as long range plans to generate custom menus based on user security. I spent 3 days writing and debugging the functions that build all the menus and submenus until I thought they worked. When I started doing more rigorous testing, I found that my browser was leaking memory at the rate of about 8MB per navigation. It only took a few clicks before the menu became so slow as to be unusable.
I'm really stuck. I can't spend huge amounts of time to modify the old menubar code to get rid of all the errors and I can't use the new one as-is because of the massive leak. I've done some research on memory leaks and tried some of the simpler onunload functions to cleanup potential sources of leaks with no luck. Schemes like event-cache look promising but it looks like I'd have to make a lot of mods to the menu script.
I know John Scheuer was working on something having to do with memory leaks... John, if you see this... PLEASE!!! Help.
Thanks in Advance,
Gandalf
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/jsdomenubar/index.htm
3) Describe problem:
I have been trying to replace my current menu (menubarAPI4.js) because of numerous script errors it causes. I chose jsDOMenubar because it seemed the best suited for my immediate needs as well as long range plans to generate custom menus based on user security. I spent 3 days writing and debugging the functions that build all the menus and submenus until I thought they worked. When I started doing more rigorous testing, I found that my browser was leaking memory at the rate of about 8MB per navigation. It only took a few clicks before the menu became so slow as to be unusable.
I'm really stuck. I can't spend huge amounts of time to modify the old menubar code to get rid of all the errors and I can't use the new one as-is because of the massive leak. I've done some research on memory leaks and tried some of the simpler onunload functions to cleanup potential sources of leaks with no luck. Schemes like event-cache look promising but it looks like I'd have to make a lot of mods to the menu script.
I know John Scheuer was working on something having to do with memory leaks... John, if you see this... PLEASE!!! Help.
Thanks in Advance,
Gandalf