I am attacking the memory leak issue..
For starters..
All objects should have a destroy()
method.
This method would destroy array,strings,objects,
ect belonging to this object.
The destroy method of each object should be called
in DynAPI.deleteChild().
this SHOULD allow ram to actually be
cleared.
Now, I've noticed that in some places
obj=null is used rather than delete obj.
Is there a reason for this?
I also want to add a DyAPI.destroy() which will try
to clear up all objects.
What file do I add this to? DynLayer.js or
DynDocument.js?
Tell me this and by tomorrow we will have a
prototype for DynAPI.destroy().
Thank You,
Doug Melvin Integrated System Solutions: Design, Development, Implementation and Support Creative-Workshop.com |
- Re: [Dynapi-Help] Memory Leak Doug Melvin
- Re: [Dynapi-Help] Memory Leak Doug Melvin
- RE: [Dynapi-Help] Memory Leak Jon McLennan
- Re: [Dynapi-Help] Memory Leak Doug Melvin
- Re[2]: [Dynapi-Help] Memory Leak Robert Rainwater
- Re: Re[2]: [Dynapi-Help] Memory Leak Doug Melvin
- RE: Re[2]: [Dynapi-Help] Memory Leak Jon McLennan
- RE: Re[2]: [Dynapi-Help] Memory Leak Jon McLennan