Skip to main content
Participant
April 30, 2018
Answered

How can I allocate more RAM to my AIR application?

  • April 30, 2018
  • 2 replies
  • 1778 views

I get a out-of-memory error when I run my application in the debugger. So how can I, in general, allocate more RAM to this application? The limit seems to be around 1GB of memory usage before the error fires. This can't be the amount of memory allocation for AIR, if I'm stuck with 1GB for a RAM budget...extremely disappointed.

AIR SDK Version: 29.0

This is for Adobe AIR on Desktop

This topic has been closed for replies.
Correct answer TheWhispers

I fixed this problem by doing this :

Why does AIR publish x64 only if..

2 replies

TheWhispersAuthorCorrect answer
Participant
May 1, 2018

I fixed this problem by doing this :

Why does AIR publish x64 only if..

Inspiring
May 1, 2018

which version of Windows? is it a 32-bit or 64-bit Windows?
what do you do that require that much RAM?

the out of memory is not necessary a lack of RAM it could also be a memory leak

AIR 29 allow to publish the AIR app as 64-bit
which would allow more RAM

but if you got a memory leak it's not really a solution

Participant
May 1, 2018

I am running Windows 10 Home 64-bit.

This is not a memory leak, I just encountered this while I was experimenting with some benchmarking, I was watching task manager as well as using System.privateMemory to monitor how much RAM the benchmark eats up while it runs. It'll peak at about 1.2GB but any higher and the error fires.

I require 1GB+ RAM because I am developing an application using Away3D that's not a game. I came across this problem just seeing how long it would take to put 50 million uints into an array.

I retried with the correct SDK and it still compiles to 32-bit, as the RAM problem still exists.

I have Adobe AIR SDK & Compiler version 29.0.0.112 for win&mac.