Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2229

OutOfMemory error when running on 32bit OS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.0.0.Alpha4
    • 4.0.0.Alpha3
    • Query
    • None

      TCK fails with OutOfMemory exception when trying to run query engine.

      The full stack trace
      java.lang.OutOfMemoryError
      at sun.misc.Unsafe.allocateMemory(Native Method)
      at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:127)
      at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
      at org.mapdb.Volume$MemoryVol.makeNewBuffer(Volume.java:552)
      at org.mapdb.Volume$ByteBufferVol.tryAvailable(Volume.java:282)
      at org.mapdb.Volume.ensureAvailable(Volume.java:54)
      at org.mapdb.StoreDirect.createStructure(StoreDirect.java:272)
      at org.mapdb.StoreDirect.<init>(StoreDirect.java:205)
      at org.mapdb.StoreWAL.<init>(StoreWAL.java:57)
      at org.mapdb.DBMaker.extendStoreWAL(DBMaker.java:907)
      at org.mapdb.DBMaker.makeEngine(DBMaker.java:703)
      at org.mapdb.DBMaker.make(DBMaker.java:654)
      at org.modeshape.jcr.query.BufferManager$1.get(BufferManager.java:338)
      at org.modeshape.jcr.query.BufferManager$1.get(BufferManager.java:335)
      at org.modeshape.jcr.query.BufferManager$DbHolder.get(BufferManager.java:317)
      at org.modeshape.jcr.query.BufferManager.db(BufferManager.java:529)
      at org.modeshape.jcr.query.BufferManager$MakeSortingWithDuplicatesBuffer.make(BufferManager.java:1033)
      at org.modeshape.jcr.query.engine.process.BufferingSequence.<init>(BufferingSequence.java:77)
      at org.modeshape.jcr.query.engine.process.SortingSequence.<init>(SortingSequence.java:49)
      at org.modeshape.jcr.query.engine.ScanningQueryEngine.createNodeSequence(ScanningQueryEngine.java:832)
      at org.modeshape.jcr.query.engine.ScanningQueryEngine.executeOptimizedQuery(ScanningQueryEngine.java:460)
      at org.modeshape.jcr.query.engine.ScanningQueryEngine.execute(ScanningQueryEngine.java:324)
      at org.modeshape.jcr.RepositoryQueryManager$1.execute(RepositoryQueryManager.java:155)
      at org.modeshape.jcr.query.JcrQuery.execute(JcrQuery.java:118)
      at org.modeshape.jcr.query.JcrQuery.execute(JcrQuery.java:43)

              rhauch Randall Hauch (Inactive)
              oleg.kulikov Oleg Kulikov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: