Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4311

.NET: MultiTieredCacheExample has some issues

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: platforms
    • Labels:
      None

      Description

      Apache.Ignite.Examples.Datagrid.MultiTieredCacheExample has some issues:

      1) Typo

      Console.WriteLine(">>> Lifecycle example started.");
      

      2)

      OffHeapMaxMemory = EntrySize * 10, // Limit off-heap to 10 entries.
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              krybakova Ksenia Rybakova
              Reporter:
              krybakova Ksenia Rybakova

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment