java.lang.OutOfMemoryError

This exception has no message.


Solutions on the web2205

Solution icon of coderanch
via Coderanch by arjan pronk, 9 months ago
This exception has no message.

Solution icon of coderanch
via Coderanch by sheril she, 1 year ago
This exception has no message.

Solution icon of coderanch
via Coderanch by Brendan Kennedy, 1 year ago
This exception has no message.

Solution icon of coderanch
via Coderanch by Nawaz Ijaz, 9 months ago
This exception has no message.

Solution icon of coderanch
via Coderanch by Nawaz Ijaz, 9 months ago
This exception has no message.

Solution icon of coderanch
via Coderanch by Prashanth Bhanu, 8 months ago
This exception has no message.

Solution icon of coderanch
via Coderanch by sunil kumbs, 8 months ago
This exception has no message.

Solution icon of coderanch
via Coderanch by Vinod Kumar, 8 months ago
This exception has no message.

Solution icon of coderanch
via Coderanch by Jay Abrahm, 8 months ago
This exception has no message.

Solution icon of coderanch
via Coderanch by Amit K Jain, 7 months ago
This exception has no message.

Stack trace

  • java.lang.OutOfMemoryError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:598) at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677) at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:735) at java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:714) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at AnalysisRunner.startAnalysis(AnalysisRunner.java:33) at AnalysisRunner.main(AnalysisRunner.java:26) Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3332) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:541) at java.lang.StringBuffer.append(StringBuffer.java:350) at java.util.regex.Matcher.appendReplacement(Matcher.java:888) at java.util.regex.Matcher.replaceAll(Matcher.java:955) at Business.RegexService.replaceAllRegexInFile(RegexService.java:64) at Business.FrameWorkDetectionService.extractAllResultsForFile(FrameWorkDetectionService.java:58) at Business.FrameWorkDetectionService.lambda$extractFrameworkDependencies$0(FrameWorkDetectionService.java:39)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

23 times, 4 days ago
Once, 2 months ago
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
50 more bugmates