Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5027

OutOfMemoryError in entry retriever when state transfer chunk size is Integer.MAX_VALUE

    Details

      Description

      DistributedEntryRetriever pre-allocates an ArrayDeque and and ArrayBlockingQueue of the same size as the state transfer chunk size.

      ReplStateTransferCacheLoaderTest sets the state transfer chunk size to Integer.MAX_VALUE, so it will trigger an OutOfMemoryError at the end of the test, when TestingUtil.killCaches() tries to log the contents of the cache (if TRACE logging is enabled).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.berindei Dan Berindei
                Reporter:
                dan.berindei Dan Berindei
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: