{"action":"created","issue":{"url":"https://api.github.com/repos/jayway/powermock/issues/227","labels_url":"https://api.github.com/repos/jayway/powermock/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/jayway/powermock/issues/227/comments","events_url":"https://api.github.com/repos/jayway/powermock/issues/227/events","html_url":"https://github.com/jayway/powermock/issues/227","id":96885842,"number":227,"title":"OutOfMemoryError in ReallySimpleSwingDemoTest","user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jayway/powermock/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jayway/powermock/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/powermock/labels/Milestone-Release1.6","name":"Milestone-Release1.6","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/powermock/labels/Priority-Critical","name":"Priority-Critical","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-07-23T19:12:47Z","updated_at":"2015-07-23T19:15:00Z","closed_at":null,"body":"_From [hugo.josefson.old@gmail.com](https://code.google.com/u/hugo.josefson.old@gmail.com/) on November 24, 2009 19:44:46_\n\nWhat steps will reproduce the problem? 1. checkout entire subversion repo\r\n2. cd trunk\r\n3. mvn install\r\n\r\nWhat is the expected output?\r\nBUILD SUCCESSFUL\r\n\r\nWhat do you see instead?\r\nRunning samples.junit4.swing.ReallySimpleSwingDemoTest\r\norg.apache.maven.surefire.booter.SurefireExecutionException: Java heap\r\nspace; nested exception is java.lang.OutOfMemoryError: Java heap space\r\njava.lang.OutOfMemoryError: Java heap space\r\n        at javassist.bytecode.CodeAttribute.<init>(CodeAttribute.java:105)\r\n        at javassist.bytecode.AttributeInfo.read(AttributeInfo.java:78)\r\n        at javassist.bytecode.MethodInfo.read(MethodInfo.java:498)\r\n        at javassist.bytecode.MethodInfo.<init>(MethodInfo.java:79)\r\n        at javassist.bytecode.ClassFile.read(ClassFile.java:716)\r\n        at javassist.bytecode.ClassFile.<init>(ClassFile.java:85)\r\n        at javassist.CtClassType.getClassFile2(CtClassType.java:190)\r\n        at javassist.CtClassType.makeFieldCache(CtClassType.java:760)\r\n        at javassist.CtClassType.getMembers(CtClassType.java:751)\r\n        at javassist.CtClassType.getMethod0(CtClassType.java:1049)\r\n        at javassist.CtClassType.getMethod(CtClassType.java:1038)\r\n        at javassist.expr.MethodCall.getMethod(MethodCall.java:114)\r\n        at\r\norg.powermock.core.transformers.impl.MainMockTransformer$PowerMockExpressionEditor.edit(MainMockTransformer.java:237)\r\n        at javassist.expr.ExprEditor.loopBody(ExprEditor.java:191)\r\n        at javassist.expr.ExprEditor.doit(ExprEditor.java:90)\r\n        at javassist.CtClassType.instrument(CtClassType.java:1289)\r\n        at\r\norg.powermock.core.transformers.impl.MainMockTransformer.transform(MainMockTransformer.java:70)\r\n        at\r\norg.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:204)\r\n        at\r\norg.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:146)\r\n        at\r\norg.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:61)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:254)\r\n        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)\r\n        at java.lang.ClassLoader.defineClass1(Native Method)\r\n        at java.lang.ClassLoader.defineClass(ClassLoader.java:700)\r\n        at java.lang.ClassLoader.defineClass(ClassLoader.java:545)\r\n        at\r\norg.powermock.core.classloader.MockClassLoader.loadMockClass(MockClassLoader.java:211)\r\n        at\r\norg.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:146)\r\n        at\r\norg.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:61)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:254)\r\n        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)\r\n        at java.lang.Class.forName0(Native Method)\r\n        at java.lang.Class.forName(Class.java:247)\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] There are test failures.\r\n\r\nPlease refer to\r\n/Users/hugo/code/other/powermock/trunk/modules/module-test/powermock/junit4-test/target/surefire-reports\r\nfor the individual test results.\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] For more information, run Maven with the -e switch\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 3 minutes 19 seconds\r\n[INFO] Finished at: Tue Nov 24 19:37:18 CET 2009\r\n[INFO] Final Memory: 42M/94M\r\n[INFO] ------------------------------------------------------------------------\r\n\r\n\r\n\r\nAdditional information:\r\n\r\n[550:trunk]$ echo $MAVEN_OPTS\r\n-Xmx3072m -XX:MaxPermSize=768m\n\n_Original issue: http://code.google.com/p/powermock/issues/detail?id=207_"},"comment":{"url":"https://api.github.com/repos/jayway/powermock/issues/comments/124215223","html_url":"https://github.com/jayway/powermock/issues/227#issuecomment-124215223","issue_url":"https://api.github.com/repos/jayway/powermock/issues/227","id":124215223,"user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T19:15:00Z","updated_at":"2015-07-23T19:15:00Z","body":"_From [mike.kol...@gmail.com](https://code.google.com/u/107534775603587948153/) on September 14, 2011 22:48:23_\n\nWhen will this be fixed for Mockito?"}}