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