Created
July 8, 2017 13:00
-
-
Save Sharabaddin/86c9bb6243e7017ee16522dba4fd2b19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/jvm/jdk1.8.0_112/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/usr/bin/idea-IU-171.3780.52/lib/idea_rt.jar=46374:/usr/bin/idea-IU-171.3780.52/bin -Dfile.encoding=UTF-8 -classpath /usr/bin/idea-IU-171.3780.52/lib/idea_rt.jar:/usr/bin/idea-IU-171.3780.52/plugins/junit/lib/junit-rt.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/deploy.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/dnsns.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/jaccess.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/localedata.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/nashorn.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/sunec.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/ext/zipfs.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/javaws.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/jce.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/jfr.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/jfxswt.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/management-agent.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/plugin.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/resources.jar:/usr/lib/jvm/jdk1.8.0_112/jre/lib/rt.jar:/home/private/IdeaProjects/testproject/target/test-classes:/home/private/IdeaProjects/testproject/target/classes:/home/private/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/private/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 com.sharabaddin.SearcherTest,testBinary_sizeArrayMaxInteger | |
java.lang.OutOfMemoryError: Requested array size exceeds VM limit | |
at com.sharabaddin.SearcherTest.testBinary_sizeArrayMaxInteger(SearcherTest.java:20) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) | |
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:363) | |
at org.junit.runner.JUnitCore.run(JUnitCore.java:137) | |
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) | |
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51) | |
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237) | |
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) | |
Process finished with exit code 255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
solve https://stackoverflow.com/questions/5497259/how-to-fix-requested-array-size-exceeds-vm-limit-error-in-java