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

Flash Builder 4.5 crashes frequently with heap space error

Community Beginner ,
Jun 29, 2011 Jun 29, 2011

Copy link to clipboard

Copied

We have a reasonably complex AIR application, but by and large I would not say it is enormous. It compiles down to an AIR file that is around 6MB. It is broken out into about 6 different modules. We have given the java VM the maximum RAM that it will utilize without complaining (somewhere around 768MB. You can't go to 1024MB or it blows up). Yet, Flash Builder crashes very frequently when trying to build, generally with "java heap space" errors. We are developing on Windows 7.

I had hoped Flash Builder 4.5 would be an improvement over Flash Builder 4 in this regard. It in fact got worse.

Is there any hope of seeing action on this?

Kevin

Views

1.4K

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 30, 2011 Jun 30, 2011

Copy link to clipboard

Copied

LATEST

Hi Kevin,

Eliminating this completely is definitely on our radar and a high priority.

For now, there are a couple of things you can do to reduce the occurence of out of memory errors when building:

1. Move all embedded fonts and images into an AS class in a library project.

2. Edit the file: C:\Program Files\Adobe\Adobe Flash Builder 4.5\eclipse\plugins\com.adobe.flexbuilder.project_4.5.1.313231\.options in wordpad. Setting, useGlobalSwcCache and useApplicationCache to false will reduce the overall memory consumed, but decrease performance.

P.S: Please note that 2 is not officially supported or tested. If those options were, they would have been in preferences.

-Anirudh

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