Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, 7.1.X, 7.2.X, 7.3.X, Master
-
7.3.x, 7.2.x, 7.1.x, 7.0.x
-
Committed
-
3
-
i4)GrtG&sByw$cYnNtU8
Description
TransactionalPortalCacheUtil doesn't have any size restrictions in the transaction scope. UncommitedBuffer accepts an unlimited number of elements as long as the transaction hasn't been committed.
Steps to Reproduce:
- Create a huge number of events using the provided script: AuditEventCreate.groovy
- Retrieve that number of events using the provided script: OutOfMemory.groovy
Expected Results:
Memory should not be exhausted with the default cache maxElementsInMemory sizing.
Actual Results:
An OutOfMemoryError is obtained if the number of events created/retrieved is big enough.
To reproduce it could be needed to increment the amount variable in the creation script. Also, it can be reproduced executing a heap dump in the middle of the iteration script and check that the TransactionalPortalCache is one of the top consumers.