jdk7 b94 cause outofmemory: PermGen
I installed jdk7 b94 on my vista machine, then use Eclipse 3.5.2 to do my develop work, I clean my workspace, then build all my projects, then do some common operation, such as browse java file, but not more than 10 operations, eclipse report outofmemory: PermGen, I look the eclipse log, find the final fault is in classloader. I change to Eclipse 3.6RC1, but it also outofmemory: PermGen. I enlarge the maxpermgen size to 512M, cann't solve this problem. then I rollback jdk7 to b93, use maxpermgen with 256M as before, all the problem resolved, Eclipse 3.5.2 and Eclipse 3.6RC1 both have no problem. I haven't backup the error log, but I think this is cuased by b94, maybe some change about classloader, but I cann't ensure. it can be reproduced with eclipse and b94. note: my workspace have many projects, more than 50, but I think this is not the cause, I enlarged the maxpermgen size to 512M, not reslove the problem, but when rollback to b93, only 256M maxpermgen works well.