ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Kulichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-4293) Deserialized value is cached if queries are enabled
Date Wed, 23 Nov 2016 21:01:01 GMT
Valentin Kulichenko created IGNITE-4293:

             Summary: Deserialized value is cached if queries are enabled
                 Key: IGNITE-4293
                 URL: https://issues.apache.org/jira/browse/IGNITE-4293
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 1.7
            Reporter: Valentin Kulichenko
            Priority: Critical

Here is the problematic piece of code in {{IgniteCacheObjectProcessorImpl}}:
boolean storeVal = ctx.config().isPeerClassLoadingEnabled() ||
    GridQueryProcessor.isEnabled(ccfg) ||
This flag is set to true if queries are enabled even when binary marshaller is used (this
condition makes sense to other marshallers though). It is then use in {{BinaryObjectImpl.deserializeValue}}:
if (coCtx != null && coCtx.storeValue())
    obj = obj0;
As a result, memory consumption doubles.

This message was sent by Atlassian JIRA

View raw message