• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Adobe AIR 20 , out of memory on ByteArray/inflate()

Explorer ,
Jan 12, 2016 Jan 12, 2016

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

TOPICS
Development

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 13, 2016 Jan 13, 2016

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 17, 2016 Mar 17, 2016

Copy link to clipboard

Copied

Hi Piyush ,

So we track down the problem and i posted on Starling forum

http://forum.starling-framework.org/topic/byte-array-causing-the-inflated-amount-of-un-categorized-m...

Just using bytearray take double memory in AIR 20 + sdk's

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 17, 2016 Mar 17, 2016

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.

bytearray bug

Cheers

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 01, 2016 Jun 01, 2016

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 02, 2016 Jun 02, 2016

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 21, 2016 Jun 21, 2016

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines