You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Sai Boorlagadda (JIRA)" <ji...@apache.org> on 2019/03/25 16:23:02 UTC
[jira] [Updated] (GEODE-6414) PdxInstanceFactory uses too much
memory when it creates a PdxInstance
[ https://issues.apache.org/jira/browse/GEODE-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sai Boorlagadda updated GEODE-6414:
-----------------------------------
Fix Version/s: (was: 1.10.0)
1.9.0
> PdxInstanceFactory uses too much memory when it creates a PdxInstance
> ---------------------------------------------------------------------
>
> Key: GEODE-6414
> URL: https://issues.apache.org/jira/browse/GEODE-6414
> Project: Geode
> Issue Type: Bug
> Reporter: Jianxia Chen
> Assignee: Darrel Schneider
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Two causes of using too much memory have been identified:
> 1. PdxInstanceFactory.create() will register a duplicate PdxType when there is already an identical PdxType in the type registry. It should reuse the PdxType that is already in the type registry instead.
> 2. The HeapByteBuffer may have extra unused memory in it. A ByteBuffer of the size needed can be allocated and the byte from the larger one copied into it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)