geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darrel Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GEODE-6414) PdxInstanceFactory uses too much memory when it creates a PdxInstance
Date Fri, 22 Feb 2019 17:45:00 GMT

     [ https://issues.apache.org/jira/browse/GEODE-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Darrel Schneider resolved GEODE-6414.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.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.10.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)

Mime
View raw message