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

How to improve the performace of Flash Builder 4.5

Explorer ,
Sep 03, 2015 Sep 03, 2015

Copy link to clipboard

Copied

Hello guys!

I use Flash Builder 4.5 for my apps, but my apps have many class and when go compiler or anywhere modification that make in my code the flash builder It takes a long time to build. How improve this?

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

correct answers 1 Correct answer

Explorer , Sep 04, 2015 Sep 04, 2015

I resolved this problem I change FlashBuilder.ini with this line

-vmargs

-Xms256m

-Xmx1024m

-XX:MaxPermSize=256m

-XX:PermSize=64m

Thanks

Votes

Translate

Translate
LEGEND ,
Sep 03, 2015 Sep 03, 2015

Copy link to clipboard

Copied

Any reason you're not using FB4.6? Is this regular or premium edition (assuming premium from the tag)? What OS? What kind of specs are on your machine?

Besides knowing there's a lot of classes, can you explain a bit about the project? Do you have a large amount of graphic assets in SWC, code in SWC (especially libraries), etc. Is your project mostly graphical or UI?

Are you using Flex (assuming yes from tag), AIR, ActionScript, Library or Mobile project?

The more details the better.

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 ,
Sep 03, 2015 Sep 03, 2015

Copy link to clipboard

Copied

Sorry sinious

Well my machine is: I7 2600k - memory 24576mb - Hd SSD - Windows 8.1 64bit

I use Flash builder 4.5 because view mode enable I believe versions high not have view mode

I´m working in a apps Flex 4.5 web not mobile only web. Not use SWC this apps ans my project is only FLEX

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
LEGEND ,
Sep 03, 2015 Sep 03, 2015

Copy link to clipboard

Copied

After 4.6 (FB/Flex), yes the visual builder is removed. So I understand why you're staying back but you could come up one version if your version of cloud supports it and benefit fully from 4.6 Spark controls.

That aside, you have 2.5GB RAM. I still have an i5-2500k system around my house so I know the CPU isn't the issue, however it has 16GB RAM and a SSD. It runs FB4.6 beautifully, mostly working on ActionScript for Mobile (Android / iOS) apps and ActionScript for desktop apps. I use the latest AIR and highest version of FP. No issues.

Are you using Java 1.7? I can't get 1.8 to compile, leaving me to believe FB needs Java 1.7, perhaps this is only for AIR for mobile since it's doing quite different things.

I would have to say, especially since you're using visual mode, 2.5GB RAM just is not enough. I have nothing but Windows 7 64bit and one Google Chrome window open (no other tabs), and I'm taking 2.65GB:

mem.PNGtask.PNG

And ok, the snip tool for a handy dandy screenshot using nearly zero memory . Or actually it popped up from 2.65 to 2.66GB.

And you're using 2.5GB, before loading FB4.5.

If you can, I would suggest you consider upgrading your RAM first. While on a fresh boot I average around 1.7GB and of course Windows can page out to the filesystem, it's going to run insanely slow and you will hear your HD crunching away. Well, in your case, it's a SSD, so your OS will just appear to "stop" and you'll hear nothing, which sounds like what's happening now. That will really put a huge burden on your SSD and if you have a SSD with max writes, it'll kill your HD far sooner than you want (yes, some SSD HD's have limited writes, and then they die).

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 ,
Sep 03, 2015 Sep 03, 2015

Copy link to clipboard

Copied

sinious


I have 24 Gb Memory not 2.5 gb







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
LEGEND ,
Sep 03, 2015 Sep 03, 2015

Copy link to clipboard

Copied

It's the typical case of holy cow I missed a decimal place. You know, small error, 2gb vs 24gb.......

What are your build settings? Build automatically or do you build yourself?

Are most of the delays noticably in a specific task, like updating the IDE, code context, editing components, etc?

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 ,
Sep 04, 2015 Sep 04, 2015

Copy link to clipboard

Copied

I resolved this problem I change FlashBuilder.ini with this line

-vmargs

-Xms256m

-Xmx1024m

-XX:MaxPermSize=256m

-XX:PermSize=64m

Thanks

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
LEGEND ,
Sep 04, 2015 Sep 04, 2015

Copy link to clipboard

Copied

LATEST

With that mmuch RAM consider changing Xmx (max Java RAM) to 2G (or 2048M). That's where I have her set.

Glad you resolved your problem. Happy devving!

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