I want to log the GC details and added following VM argument in eclipse:
-verbose:gc
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Xmx768M
Now when I launch the application I get an error dialog that states "can not create java virtual machine".
What is the problem?
I have found very easy solution for this just delete eclipse.ini file but backup first.
i had this same problem many times and finally i deleted this and i have no more problem.
it also increased loading time. now my eclipse starts faster then earlier.