FlashBuilder allocate more memory using FlashBuilder.ini

jgdvishnu
jgdvishnu used Ask the Experts™
on
I tried to allocate more memory to adobe Flash builder then it gives error as shown below.
FlashBuilderJVMTerminatedError.jpg.
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Architect
Commented:
I was able to run with this settings in FlashBuilder.ini and FlashBuilderC.ini :-
-vmargs
-Xms256m
-Xmx768m
-XX:PermSize=64m
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins

Q. how could I make better performance overall and -Xmx as it errors the same way .
Machine RAM is 16GB and underutilised.
Top Expert 2015

Commented:
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.
jgdvishnuSoftware Architect

Author

Commented:
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
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Top Expert 2015
Commented:
1. it will not work with 64bit java

2. Just make a try without java parameters?
jgdvishnuSoftware Architect

Author

Commented:
So what should the FlashBuilder.ini look like.
Top Expert 2015

Commented:
-vmargs
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins
jgdvishnuSoftware Architect

Author

Commented:
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...
Top Expert 2015

Commented:
Do you have memory in your computer? It defaults to ~1.6GB
jgdvishnuSoftware Architect

Author

Commented:
Yes. I have 16GB RAM on my machine and 500 GB Solid State Hard Disk out of which 238 GB is free.
Top Expert 2015

Commented:
Try -Xms1g -Xmx1g (i.e allocate all ram on the spot)
jgdvishnuSoftware Architect

Author

Commented:
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.
Flash Builder config error
Top Expert 2015
Commented:
This file was attached as "working"
Please change ONLY bold lines.

-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
-Xms256m
-Xmx512m
-XX:MaxPermSize=256m
-XX:PermSize=64m
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins
jgdvishnuSoftware Architect
Commented:
Only this value worked best for Adobe 4.0

-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
-Xms256m
-Xmx768m
-XX:PermSize=64m
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins
jgdvishnuSoftware Architect

Author

Commented:
Please close
jgdvishnuSoftware Architect

Author

Commented:
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
jgdvishnuSoftware Architect

Author

Commented:
I am stuck in closing the solution
Top Expert 2015

Commented:
The better Windows gets the slower old java versions become.
You could have given half of points to you ;)
jgdvishnuSoftware Architect

Author

Commented:
Many system have different values but the one selected first is the best solution for my system

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial