Hi,
I've tried to use overlay but I faced a few memory troubles.
Let me explain with a very sample case: I have a function which creates a very
sample overlay (with the bodyContent = DIV).
I use this function to create several overlays on my document.
Of course, I can see a memory usage increase after a certain number of overlays
created.
This is normal.
But what I'd like to do is to cut down the memory usage the moment I decide to
"close" the overlays.
In order to do that I put the overlays (the objects I created with = new
Y.Overlay(..)) in an Array thinking that it should have been enoguh to remove
every items from the Array the moment I no longer use the overlays.
Unfortunately, that doesn't do the trick...
Though I've removed every items from the Array (that's every overlay objects I
created) the memory doesn't go down.
I've already tried other solutions: calling the destroy() method on each array's
items, marking as delete each items, setting as null each item but nothing to
do!
Does anyone have any idea how to cope with this problem?
Thank you
Paolo