Copy link to clipboard
Copied
Hi Guys,
We just upgrade our app to Adobe AIR 20 and started getting Out Of Memory errors but the strange part is that Game runs perfectly fine on Adobe AIR 19 and the game is no where near the memory limit.
Thanks
Rahul
Copy link to clipboard
Copied
Hi,
I have created sample project with Byte array using inflate method and i have tried this on Android and ios both.
I am not getting any memory error.Here is the attached project Dropbox - ByteA 2.zip
Can you please share your sample project and log a bug in bugbase with the environment details?
Adobe AIR
-Piyush
Copy link to clipboard
Copied
Hi Piyush ,
So we track down the problem and i posted on Starling forum
Just using bytearray take double memory in AIR 20 + sdk's
Copy link to clipboard
Copied
Hi Piyush,
I have a simple project can reproduce this issue, please check the link you can find screen shots and scout record for both sdk20 and sdk19. And the project too.
Cheers
Copy link to clipboard
Copied
Hello Everyone,
This issue has been fixed in latest Adobe AIR 22 beta available at http://labs.adobe.com/downloads/air.html
Please give it a try and provide your feedback.
Thanks,
Krati
Adobe AIR Team
Copy link to clipboard
Copied
It not fixed for me. I ran into the issue yesterday after switching to 21 from 19. I get a hard crash while using ObjectUtil.copy which uses a ByteArray ( @ buffer.writeObject(value); ). I can limit the size of the object I want to copy and it will work fine. I tried the 149 build of 22 and have the same result. It seems like a memory issue because it works fine in my simulator and crashes without an error on my Nexus 9. I'm going to start looking at it in Scout today.
Copy link to clipboard
Copied
Hello Everyone,
We would like to fix the problem with ObjectUtil.copy but for that we need a sample application to reproduce for the investigations. Please send it to me directly at krgupta AT adobe DOT com.
Thanks,
Krati