PDA

View Full Version : AIR memory usage - question to handle big applications



bjt
4 Nov 2008, 11:08 AM
Hi,

i have a question:
My Adobe Air Application is blowing up his memory usage everytime in the runtime.
Why? Can i stop it? Can i clear the memory usage without a programm restart.

The Background:
I have a big application (with extjs - sandbox and non-sandbox mode) and the memory usage is growing up to 230.000 k in the TaskManager - Win XP SP3
then the application hang on. In the developement mode i see that i have an
Error: Out of memory usage

System:
- IntelCor2Duo 1,8 Ghz
- 2 Ghz RAM

The problem is. The air app is opened and the memory usage is growing up again and again but i dont do anything in the application. Is it possible to clear the memory cache at the runtime (like a programm restart)

Sorry for my english. I

bjt
4 Nov 2008, 12:27 PM
very interesting.
if i minimize the application to the system bar the memory usage is going down to a normal status. than i open the application again from the system bar and after a few seconds the memory usage is going again up and up

RobSmith
5 Nov 2008, 6:32 AM
Sounds a bit like an endless loop somewhere. Did you try to locate the memory leak by removing application parts (if that is possible).

bjt
5 Nov 2008, 11:51 PM
no it doesn

bereal
20 Nov 2008, 9:50 AM
We have almost the same situation and application layout.

For now we haven't worked on this issue, so I just want to subscribe to this thread.

I will be posting any kind of ideas or results here.