Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 4.0.0.Alpha3
    • Fix Version/s: 4.0.0.Alpha4
    • Component/s: Query
    • Labels:
      None

      Description

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rhauch Randall Hauch
                  Reporter:
                  oleg.kulikov Oleg Kulikov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: