Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Understanding memoryMaxUsage

Avatar

Level 4

Hi,

To avoid Java Out of Memory errors and to preserve the integrity of our repository, we elected to enforce -Dcrx.memoryMaxUsage=90 in our start script.  This effectively shuts down the repository when the ResourceMonitor detects that the mean memory usage is over 90%.  We wanted to find out what caused the memory usage to exceed 90% so we had a cron job scheduled at every half-hour to monitor the memory usage by querying the /system/console/memoryusage page and getting the total memory score.  Surprisingly, the memory score seems to be consistently in the range of 50-60%. If the memory usage score is healthy, why would ResourceMonitor detects mean memory usage that is over 90%?  What is being called by ResourceMonitor?  None of the error, request or access logs suggest any activities that would cause memory usage to exceed the defined thresholds.  

Any advice?

Thank you.

1 Accepted Solution

Avatar

Correct answer by
Level 10
1 Reply

Avatar

Correct answer by
Level 10