FlashBuilder allocate more memory using FlashBuilder.ini

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
jgdvishnuSoftware ArchitectAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jgdvishnuSoftware ArchitectAuthor 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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gheistCommented:
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.
0
jgdvishnuSoftware ArchitectAuthor 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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

gheistCommented:
1. it will not work with 64bit java

2. Just make a try without java parameters?
0
jgdvishnuSoftware ArchitectAuthor Commented:
So what should the FlashBuilder.ini look like.
0
gheistCommented:
-vmargs
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins
0
jgdvishnuSoftware ArchitectAuthor 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...
0
gheistCommented:
Do you have memory in your computer? It defaults to ~1.6GB
0
jgdvishnuSoftware ArchitectAuthor Commented:
Yes. I have 16GB RAM on my machine and 500 GB Solid State Hard Disk out of which 238 GB is free.
0
gheistCommented:
Try -Xms1g -Xmx1g (i.e allocate all ram on the spot)
0
jgdvishnuSoftware ArchitectAuthor 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
0
gheistCommented:
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
0
jgdvishnuSoftware ArchitectAuthor 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
0
jgdvishnuSoftware ArchitectAuthor Commented:
Please close
0
jgdvishnuSoftware ArchitectAuthor 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
0
jgdvishnuSoftware ArchitectAuthor Commented:
I am stuck in closing the solution
0
gheistCommented:
The better Windows gets the slower old java versions become.
You could have given half of points to you ;)
0
jgdvishnuSoftware ArchitectAuthor Commented:
Many system have different values but the one selected first is the best solution for my system
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Flex

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.