You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2015/09/02 00:18:45 UTC

[jira] [Created] (GEODE-306) off-heap and compression can cause UnsupportedOperationException

Darrel Schneider created GEODE-306:
--------------------------------------

             Summary: off-heap and compression can cause UnsupportedOperationException
                 Key: GEODE-306
                 URL: https://issues.apache.org/jira/browse/GEODE-306
             Project: Geode
          Issue Type: Bug
          Components: offheap
            Reporter: Darrel Schneider
            Assignee: Darrel Schneider
            Priority: Minor


If an off-heap region is also compressed and it has a problem that causes it to try to dump the contents of off-heap memory then that dump can fail with an UnsupportedOperationException. For example:
{code}
java.lang.UnsupportedOperationException
        at com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl$Chunk.getRawBytes(SimpleMemoryAllocatorImpl.java:2028)
        at com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl$MemoryBlockNode.getDataType(SimpleMemoryAllocatorImpl.java:3347)
        at com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl$MemoryBlockNode.toString(SimpleMemoryAllocatorImpl.java:3406)
        at memscale.OffHeapHelper.dumpOffHeapOrphans(OffHeapHelper.java:477)
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)