This is consistent with the behavior that the original bug submitter experienced. When I remove the -launcher.XXMaxPermSize and instead add -XX:MaxPermSize=256m as the last line (after the -vmargs) I no longer experience OutOfMemoryErrors. I am consistently able to reproduce the PermGen out of memory error when eclipse.ini is configured using -launcher.XXMaxPermSize (even if I set -launcher.XXMaxPermSize to a very large number like 1024M) I started noticing ": PermGen space" errors when I upgraded to 3.3.1 As far as I can tell, the -launcher.XXMaxPermSize feature no longer works in Eclipse 3.3.1 If nothing else, perhaps "how to use" those parameters should be a comment in the eclipse.ini file, and pages such as Kaloyan, or others, perhaps you could give more details on VM versions you are using and exactly how you invoke eclipse ide. I wonder if in that "default java" case, there are mechanisms in place that "spec" the maxpermsize in some behind the scenes way, thus making eclipse think it has "already been specified", hence ignoring it? I did try some tests where I let my windows system "default java" be used, and then the value in the eclipse.ini did NOT seem to take an effect?Īnd, that was using one of Sun's 1.6 VM's. IF I specified the VM on the command line. I tried this a little, and it seemed to work as expected Kaloyan, just to confirm, you are using the eclipse.exe to start the IDE, right? I think that's the only time the eclipse.ini values are used.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |