ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2564) CPP: Memory reallocation callback doesn't work.
Date Fri, 05 Feb 2016 18:00:43 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15134585#comment-15134585
] 

ASF GitHub Bot commented on IGNITE-2564:
----------------------------------------

GitHub user isapego opened a pull request:

    https://github.com/apache/ignite/pull/460

    IGNITE-2564: MemoryReallocate handler added.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/isapego/ignite ignite-2564

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/460.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #460
    
----
commit 8afc48cd89b44ee529087f52a2fc370acb7663d0
Author: isapego <isapego@gridgain.com>
Date:   2016-02-05T15:30:35Z

    IGNITE-2564: MemoryReallocate handler added.

commit b14ad48d5be6e29125126fa6a9583851d7e59e4e
Author: isapego <isapego@gridgain.com>
Date:   2016-02-05T17:58:44Z

    IGNITE-2564: Test added.

----


> CPP: Memory reallocation callback doesn't work.
> -----------------------------------------------
>
>                 Key: IGNITE-2564
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2564
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 1.5.0.final
>            Reporter: Vladimir Ozerov
>            Assignee: Igor Sapego
>            Priority: Critical
>             Fix For: 1.6
>
>         Attachments: putgetexample.cpp, trade.h
>
>
> *Steps to reproduce*:
> 1) Start a CPP node.
> 2) Put large string to cache (say, >1024 chars long)
> 3) Now try to read this string using Cache.Get() method. PlatformNoCallbackException
exception is thrown.
> *Root cause*: 
> External memory reallocation callback is not set.
> *Solution*:
> Add memory reallocation callback to ignite_environment.cpp



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

Mime
View raw message