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

.NET: MultiTieredCacheExample has some issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8
    • 1.8
    • platforms
    • 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

            krybakova Ksenia Rybakova
            krybakova Ksenia Rybakova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: