I'm now receiving this exception after running orientdb for several hours.
Total JVM heap is only about 236MB with heap set to -Xmx512m. I get this
repeatedly for every transaction in the database now.
com.orientechnologies.common.directmemory.ODirectMemoryViolationException:
Provided offset [301936] is more than size of allocated area [65536]
at
com.orientechnologies.common.directmemory.ODirectMemoryPointer.rangeCheck(ODirectMemoryPointer.java:142)
at
com.orientechnologies.common.directmemory.ODirectMemoryPointer.getInt(ODirectMemoryPointer.java:57)
at
com.orientechnologies.common.serialization.types.OIntegerSerializer.deserializeFromDirectMemory(OIntegerSerializer.java:87)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage.getIntValue(ODurablePage.java:64)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPage.appendRecord(OClusterPage.java:98)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.addEntry(OPaginatedCluster.java:916)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.createRecord(OPaginatedCluster.java:395)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.createRecord(OLocalPaginatedStorage.java:1077)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commitEntry(OLocalPaginatedStorage.java:1515)
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1447)
at
com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:178)
at
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.java:115)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:454)
On Wednesday, May 14, 2014 5:24:09 PM UTC-4, M B wrote:
>
>
> There are two places it crashes, not just one, but both point to same JVM
> issue. It definitely crashes with snappy and switching to gzip fixes it.
> But the other stack points to orientdb wal stuff. We worked around the
> crash in the wal by setting memory use unsafe to false.
>
> OGlobalConfiguration.MEMORY_USE_UNSAFE.setValue(false);
> OGlobalConfiguration.STORAGE_COMPRESSION_METHOD.setValue("gzip");
>
>
> The solaris box I have is a 16GB (real) 24CPU box.
>
>
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.