I have an interactive flex app which loads data from our oracle database and displays it in charts. This needed to be automated to generate some of these charts and a minute by minute or hour by hour basis in the background and the images saved for viewing in non-flash pages. I converted the flex app to and AIR app and set it to run but I cannot get AIR to release memory back to the system even with multiple calls to flash.system.System.gc(). I tried reusing the charting elements but that didn't work either. I have 2 questions:
- How do I get the AIR app to run without it crashing from memory leaks?
- What is the best way to set this up on a server (assuming I can fix the memory leak problem) to that it will run 24/7? (Our IT guys will set it up on whatever works best. We have Mac, Windows, and Linux servers, I really don't care how it's done, but I'm primarily an application programmer so this is new to me. It just has to work wherever it runs)