I have put online an example of what I am trying to do here http://dl.dropbox.com/u/143962/eWomen/index.html if you let it run long enough after it has created all planes you'll see that the memory slowly goes up. this wouldn't be a problem if this didn't have to run all day long but it's going into an exhibition and it needs to run 8 hours a day. currently in a couple of hours it eats up half a gig of ram.
I need some help badly. need to get on with other projects and finish this one :( thanks Luigi On May 10, 10:15 am, Luigi Tommaseo <[email protected]> wrote: > HI all, > > First of all thanks to the whole community for the brilliant effort in > writing away3d. I have something to throw your way to see if a solution can > be found. > > I have run into a problem and I have no idea how to fix it. I am using away3d > and as3mod to create some sort of paper been thrown about. I am using just > simple planes to create my paper I extend those and use Tweenmax to animate > the bending and the movement of these planes. > > Everything works as expected but the memory slowly keeps piling up. I have a > total of 83 planes with material and back material applied to it. I am > already reusing the planes so nothing is continuously created. looking at it > in fb profiler it seem that what is taking up all the memory are vector.<*> > and Vector.<Number> I have no idea which part of the code is continuously > creating these. > > I tried deleting the scene every once in a while and recreating but that's > actually even worse as a lot of stuff doesn't clear from memory so the the > memory goes up even faster. ideally I would like to have running all the time > without having to delete it. is there some known issues for these Vectors? > I'have been searching everywhere and found other people mentioning these as a > memory leak but still haven't found a solution. > > anybody know about this problem and how to fix it? > > thanks > > Luigi
