Skip to main content

Product: OpenFusion Notification Service

Version: ALL

 

Description:

What happens when the MaxMemoryUsage limit is reached?

 

Resolution:

The MaxMemoryUsage QoS specifies the amount of memory that can be used by the JVM running the Notification Service.

The MaxMemoryUsagePolicy QoS determines how memory is freed when MaxMemoryUsage is exceeded.

When events arrive at the channel the current memory usage is checked against MaxMemoryUsage. If the current memory usage exceeds MaxMemoryUsage, a garbage collection is requested, and the memory usage checked again. If the usage is still greater than MaxMemoryUsage, the channel and all attached proxy suppliers will attempt to free memory. Events will be purged, discarded or rejected according to the policy in use.


#KnowledgeDocs
#OpenFusion