You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/11/25 12:44:59 UTC
[jira] [Commented] (IGNITE-4311) .NET: MultiTieredCacheExample has
some issues
[ https://issues.apache.org/jira/browse/IGNITE-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15695777#comment-15695777 ]
Pavel Tupitsyn commented on IGNITE-4311:
----------------------------------------
2) I suggest to modify comment: "Limit off-heap to *(roughly)* 10 entries" since we can't know the overhead for sure
> .NET: MultiTieredCacheExample has some issues
> ----------------------------------------------
>
> Key: IGNITE-4311
> URL: https://issues.apache.org/jira/browse/IGNITE-4311
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 1.8
> Reporter: Ksenia Rybakova
> Assignee: Pavel Tupitsyn
>
> Apache.Ignite.Examples.Datagrid.MultiTieredCacheExample has some issues:
> 1) Typo
> {noformat}
> Console.WriteLine(">>> Lifecycle example started.");
> {noformat}
> 2)
> {noformat}
> OffHeapMaxMemory = EntrySize * 10, // Limit off-heap to 10 entries.
> {noformat}
> This size is not enough to store 10 entries, overhead is not taked into account. In my case some experiments showed that (EntrySize * 10) + 810 is minimum required.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)