chiffchaff / powermock

Automatically exported from code.google.com/p/powermock
Apache License 2.0
0 stars 0 forks source link

PermGen outofMemory when using powermock and easymock #471

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I created a large amount of powermock test cases. When i ran these cases, the 
permgen went up to 700m. I know if I use prepareForTest in 10 test cases, 10 
different class loaders are created and load the classes in these 10 cases. So 
Is there a way to reduce the permgen consuming if I dont want to increase the 
permgen space?  Thank you very much.

Original issue reported on code.google.com by bienvenueqin@gmail.com on 26 Nov 2013 at 9:01

GoogleCodeExporter commented 9 years ago
PowerMock does consume a lot of memory but if it doesn't go down it could be a 
memory leak. I've fixed several of those in the past.

Original comment by johan.ha...@gmail.com on 6 Dec 2013 at 6:40