Link to home
Start Free TrialLog in
Avatar of Steve Sperber
Steve SperberFlag for United States of America

asked on

FlashBuilder allocate more memory using FlashBuilder.ini

I tried to allocate more memory to adobe Flash builder then it gives error as shown below.
User generated image.
Attached modified FlashBuilder.ini and FlashBuilderC.ini - that failed

Originally working FlashBuilder_Working_06_17.ini - but had slow performance.
FlashBuilder.ini
FlashBuilderC.ini
FlashBuilder-Working-06-17.ini
ASKER CERTIFIED SOLUTION
Avatar of Steve Sperber
Steve Sperber
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It is 32bit java you are running. It defaults to -Xmx1600m, so removing memory parameters will run it in maximum RAM possible under architectural limitations.
Avatar of Steve Sperber

ASKER

1) From which line you concluded that it is running on 32bit java. I have 64 bit java too by default set in environment settings with JAVA_HOME and path="C:\tools\Java\bin". How can I specify that path at startup to take that Java.

2) As suggested with below configuration. the flash builder does not open any number of times I click.
-vmargs
-Xms256m
-XX:PermSize=64m
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins

Please help
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
So what should the FlashBuilder.ini look like.
-vmargs
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins
Flash Builder took 3-4 min to load after click.
It became very slow and does not respond for long times after each click.
right click project and wait for 2 min. click build property and wait for another 2 min...
Do you have memory in your computer? It defaults to ~1.6GB
Yes. I have 16GB RAM on my machine and 500 GB Solid State Hard Disk out of which 238 GB is free.
Try -Xms1g -Xmx1g (i.e allocate all ram on the spot)
My FlashBuilder.ini:-
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-nl
en_US
-vmargs
-Xms1g
-Xmx1g
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins

Screen shot shows the error.
User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please close
Gheist had good knowledge. I tried different solution suggested by him but they did not work for me.
So I wish to put first solution as best solution
I am stuck in closing the solution
The better Windows gets the slower old java versions become.
You could have given half of points to you ;)
Many system have different values but the one selected first is the best solution for my system