java.lang.OutOfMemoryError: Java heap space

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.OutOfMemoryError: Java heap space
at uk.gov.nationalarchives.droid.core.interfaces.resource.CachedByteArrays$CacheTransformer.transform(CachedByteArrays.java:106)
at uk.gov.nationalarchives.droid.core.interfaces.resource.CachedByteArrays.readByte(CachedByteArrays.java:126)
at net.domesdaybook.matcher.sequence.searcher.BoyerMooreHorspoolSearcher.searchForwards(BoyerMooreHorspoolSearcher.java:93)
at uk.gov.nationalarchives.droid.core.signature.droid6.SubSequence.findSequenceFromPosition(SubSequence.java:719)
at uk.gov.nationalarchives.droid.core.signature.droid6.ByteSequence.matches(ByteSequence.java:424)
at uk.gov.nationalarchives.droid.core.signature.droid6.InternalSignature.matches(InternalSignature.java:399)
at uk.gov.nationalarchives.droid.core.signature.droid6.InternalSignatureCollection.getMatchingSignatures(InternalSignatureCollection.java:99)
at uk.gov.nationalarchives.droid.core.signature.droid6.FFSignatureFile.runFileIdentification(FFSignatureFile.java:495)
at uk.gov.nationalarchives.droid.core.BinarySignatureIdentifier.matchBinarySignatures(BinarySignatureIdentifier.java:103)
at uk.gov.nationalarchives.droid.submitter.SubmissionGateway$1.call(SubmissionGateway.java:123)
at uk.gov.nationalarchives.droid.submitter.SubmissionGateway$1.call(SubmissionGateway.java:119)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at uk.gov.nationalarchives.droid.core.interfaces.BlockingThreadPoolExecutorFactory$CallerRunsUnlessPoolShutdownPolicy.rejectedExecution(BlockingThreadPoolExecutorFactory.java:86)
at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
at uk.gov.nationalarchives.droid.submitter.SubmissionGateway.submit(SubmissionGateway.java:129)
at uk.gov.nationalarchives.droid.submitter.SubmissionGateway$$FastClassByCGLIB$$441edb4e.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:160)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at uk.gov.nationalarchives.droid.submitter.SubmissionGateway$$EnhancerByCGLIB$$985fb67d.submit()

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.