Is the page live somewhere?
If your menu is based on the listwidget, that could be the cause, as more
than 20 or so listarticles start using lots of memory.
Do you have a lot of images that are being resized in the browser,
especially large ones use much more memory than sizing the original image,
and displaying them at natural size.
If you use lots of images, or large ones, setting them as background images
of a dynlayer uses much less memory than setHTML('<img src=blah>')
- although this might bring other problems, like phantom cursors.
This is not only true for DynAPI, a div with background image is more
efficient, than <div><img></div> .

If you're page is live, I can test if the memory usage is as high in IE4,
IE5.0, and IE5.5, or if it's just an IE6 thing.

Cheers,
Richard Bennett

[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to DynAPI2.53)
visit the DynAPI homepage (and FAQ) ::
http://dynapi.sourceforge.net/dynapi/index.php?menu=1
Browse (and search) the mailinglist here:
http://www.mail-archive.com/index.php3?hunt=dynapi


----- Original Message -----
From: "Hansen Jakob Veje" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 31 July, 2001 13:41
Subject: [Dynapi-Help] How to avoid memory leaks in IE6 and Netscape 6


> Hi
>
> I'm experiencing some memory leaks in explorer 6. I've made a listmenu
> widget which is on every page on my website. Browsing the website
increases
> the memory usage by explorer at a rate of 700kb - 1mb pr. page. If I leave
> the website for some time, the memory usage drops again.
>
> I am using the newest build (2.5.4) of dynapi, and i did try this onunload
> event handler to no avail:
>
> DynAPI.onUnload = function () { documentLayers =
> DynAPI.document.children.length; for (i = 1; i <= documentLayers; i++) {
> DynAPI.deleteChild(i); } }
>
> Thanks!
> > ---
> > Jakob Veje Hansen - mailto:[EMAIL PROTECTED]
> > WM-data eSolutions
> > Tel: +45 8744 4619 - Mobil: +45 2169 0361
> > http://www.wmdata.dk
> >
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to