Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by ahainen

  1. Hi, thanks for the reply. Here's a smaller version I made for a Stackoverflow post a little while ago. This is the same project, but it just loads two videos, and doesn't use the threshold unloading in the actual project (because there's only two videos.) The RAM usage and CPU usage are really high in this too.




    The reason I thought it was LoaderMax, is because if you sit on the first frame it stays at around 400MB of Real Memory indefinitely. Once I go to the next frame, it goes up, of course, but it never comes down or seems to unload, and the RAM usage only changes upon changing the frame, which is just loading another video.


    I'm working with a a programmer today to tray and figure it out, Im really hoping there's some loop somewhere just bloating it and can be removed. Thanks for the response though, I appreciate it.

  2. Alright, I'm 100% stuck, and I really need some help with my project. Below is a link to the FULL project so you can see everything that's there and test it yourself. It's 180MB, sorry for the filesize, but its like 78MB of video and some sound and other things.




    The project is one frame, on the frame there is a movie clip called rewinder. inside rewinder theres about 24 frames that left and right arrows on screen navigate between, and plays different videos. I'm loading videos 2 in front and 2 behind the current frame, and unloading any videos outside that threshold, but it's not helping. Further details but not super relevant I dont think: the swf is referencing a php file every 2.5 seconds that has a variable I'm using.


    The problem: Run the swf, and you'll see your RAM usage and CPU usage skyrocket. I've compressed the videos as much as I can, I'm using Loadermax, loading the videos when needed, unloading them when they're not needed, but it's just detrimental to the computer. It literally starts to crash other programs and slow the computer down because it's too intense on it. I don't know what the problem is or how to fix it.


    Furthermore, when you navigate pages, the RAM usage endlessly goes up well beyond 1GB.


    Is there a way that I can test where a memory leak is occuring? Does this seem like a LoaderMax issue?


    I'm a designer primarily and trying to work with AS3 and greensock, so I apologize that the code isn't refactored well or optimized.


    Any help would be TREMENDOUSLY appreciated, please let me know if I can supply with anything else thats needed for testing. The project is up and online at www.helpg.us. Please don't post that link around right now, just saying that so you can see the full file online running.