java.lang.OutOfMemoryError: Java heap space

Google Groups | ross-spencer | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at uk.gov.nationalarchives.droid.core.interfaces.resource.CachedByteArrays$CacheTransformer.transform()
  2. uk.gov.nationalarchives
    CachedByteArrays$CacheTransformer.transform
    1. uk.gov.nationalarchives.droid.core.interfaces.resource.CachedByteArrays$CacheTransformer.transform(CachedByteArrays.java:106)
    1 frame
  3. Commons Collections
    LazyMap.get
    1. org.apache.commons.collections.map.LazyMap.get(LazyMap.java:158)
    1 frame
  4. uk.gov.nationalarchives
    CachedByteArrays.readByte
    1. uk.gov.nationalarchives.droid.core.interfaces.resource.CachedByteArrays.readByte(CachedByteArrays.java:126)
    1 frame
  5. net.domesdaybook.matcher
    BoyerMooreHorspoolSearcher.searchForwards
    1. net.domesdaybook.matcher.sequence.searcher.BoyerMooreHorspoolSearcher.searchForwards(BoyerMooreHorspoolSearcher.java:93)
    1 frame
  6. uk.gov.nationalarchives
    SubmissionGateway$1.call
    1. uk.gov.nationalarchives.droid.core.signature.droid6.SubSequence.findSequenceFromPosition(SubSequence.java:719)
    2. uk.gov.nationalarchives.droid.core.signature.droid6.ByteSequence.matches(ByteSequence.java:424)
    3. uk.gov.nationalarchives.droid.core.signature.droid6.InternalSignature.matches(InternalSignature.java:399)
    4. uk.gov.nationalarchives.droid.core.signature.droid6.InternalSignatureCollection.getMatchingSignatures(InternalSignatureCollection.java:99)
    5. uk.gov.nationalarchives.droid.core.signature.droid6.FFSignatureFile.runFileIdentification(FFSignatureFile.java:495)
    6. uk.gov.nationalarchives.droid.core.BinarySignatureIdentifier.matchBinarySignatures(BinarySignatureIdentifier.java:103)
    7. uk.gov.nationalarchives.droid.submitter.SubmissionGateway$1.call(SubmissionGateway.java:123)
    8. uk.gov.nationalarchives.droid.submitter.SubmissionGateway$1.call(SubmissionGateway.java:119)
    8 frames
  7. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    4. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    5. java.util.concurrent.FutureTask.run(Unknown Source)
    5 frames
  8. uk.gov.nationalarchives
    BlockingThreadPoolExecutorFactory$CallerRunsUnlessPoolShutdownPolicy.rejectedExecution
    1. uk.gov.nationalarchives.droid.core.interfaces.BlockingThreadPoolExecutorFactory$CallerRunsUnlessPoolShutdownPolicy.rejectedExecution(BlockingThreadPoolExecutorFactory.java:86)
    1 frame
  9. Java RT
    AbstractExecutorService.submit
    1. java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
    3. java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
    3 frames
  10. uk.gov.nationalarchives
    SubmissionGateway$$FastClassByCGLIB$$441edb4e.invoke
    1. uk.gov.nationalarchives.droid.submitter.SubmissionGateway.submit(SubmissionGateway.java:129)
    2. uk.gov.nationalarchives.droid.submitter.SubmissionGateway$$FastClassByCGLIB$$441edb4e.invoke(<generated>)
    2 frames
  11. IDEA
    MethodProxy.invoke
    1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    1 frame
  12. Spring AOP
    Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
    1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    3. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
    4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:160)
    5. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    6. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    7. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
    7 frames
  13. uk.gov.nationalarchives
    SubmissionGateway$$EnhancerByCGLIB$$985fb67d.submit
    1. uk.gov.nationalarchives.droid.submitter.SubmissionGateway$$EnhancerByCGLIB$$985fb67d.submit(<generated>)
    1 frame