[
https://issues.apache.org/jira/browse/IGNITE-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
k updated IGNITE-2564:
----------------------
Attachment: trade.h
putgetexample.cpp
Hi,
Pls find attached the files I tested with in the 'example' solution of cpp
client. Just add trade.h to the header list & replace main with the one
attached, it should be easy to replicate by passing different sizes in
rand_alnum_str call of 'PutGetTrade' method.
Some details about env:
Windows 7 x64
Visual Studio 2010/2012
jdk1.7.0_71 x64
JAVA_OPTS=-d64 -Xms16G -Xmx16G -XX:PermSize=512M -XX:MaxPermSize=1G
-XX:MaxDirectMemorySize=512M
I also replicated on 1.5b.
Thanks and let me know if you need additional details.
Claudiu
> 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)