wujun / powermock

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

PowerMock giving OOM issue using JDK-1.7 #474

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write PowerMock tests for a package? 
2. Build it using an ant backed build system.
3. Use jdk-1.7 as your build tool

What is the expected output? What do you see instead?
Tests running successfully. Instead I am seeing OutOfMemoryPermGenSpace issue 
for tests

What version of the product are you using? On what operating system?
PowerMockEasyMock on 1.5.1. Operating system - RHEL5-64 bit

Please provide any additional information below.
We overcame the problem by extending maxheap argument to 1GB for JDK-1.6_64. 
The problem resurfaced for JDK-1.7

Original issue reported on code.google.com by harsh.ro...@gmail.com on 6 Jan 2014 at 3:56