Yup .. thats right. On a PC.
On a mac the default memory setting for both ie and ns is
pretty low. And when that runs out, your out of memory.
Offcourse you can set that to a higher value yourself
pretty easily.. but the defaut user probably doesn't.
I had that problem when constructing a menu in dynAPI1.
Running out of memory the whole time...
Had to redo it and drastically decrease the amount of Layers
from around 100-200 to around 30.
But I believe that DynAPI2 is a lot better at memory usage.
There's still some room for improvement, though :)
BTW, anyone has an idea about how to flush memory on PC for
IE..? It seems that it allocates memory for each new page
load.
/ Bart
> I got to 7000 layers then hit the back button. It hung
at that point.
> Suceeded with back button at 4000 layers
> use freemem pro, probably helped. But 6000+ layers is
insane...
>
> ----- Original Message -----
> From: "Alexey Medvedev" <ma...@ca...>
> To: <dyn...@li...>
> Sent: Tuesday, November 28, 2000 3:19 AM
> Subject: [Dynapi-Dev] Re: [Dynapi-Help] Repeat - mem leak
question
>
>
> > On Mon, 27 Nov 2000, Andrew Forber wrote:
> >
> > Hello!
> > --
> > First of all - I'm first time here. I'm very interested
in DHTML
> > and have tryes to use old Dan's library. Current my
work is depends
> > on dhtml so , I hope , will contribute something.
> > --
> >
> > > time Internet Explorer 5.5 uses about 2 megs more of
RAM. After loading
> the
> >
> > I'm very courius about lots of layers used in lib and
about
> > LongNameOfParameters. Have anyone tries to make memory
tests?
> > I thinks it have less memory to insert number of
images in one layer
> > then to make one layer for every one (as , i thinks ,
now is with
> widgets)
> >
> > Try to see how much layers you computer could drow (NN
only :-/:
> >
> > http://deep.kiev.ua/JS/garbage/js1/test_layers.html
> >
> > Just now NN4/unix crashed on ~400 layers + Back
button press :)
> >
> > When I leave it to draw ~4000 layers it hang X Window
at all :-/
> >
> > And - is there some way to insert memory checks into
debug version of
> > DynAPI? (the one without comments and other striped)
> > I this JS will not permit this , but in NN you could
utilise LiveConnect
> > to Java and IE have ActiveX embadable.
> >
> > Also some sort of events/calls loging would be nice to
have
> > in debug version - it's hard to figure source of
browser crashes :-/
> >
> > Malx
> > --
> > There is no thing in the world, which is more
powerfull, than default
> >
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > Dyn...@li...
> > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
> >
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
|