Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Is there a Gigaspaces API that gets the 'memoryUsagePercentage'


I am attempting to monitor a Mirror Service to know when its memory usage has crossed over a certain threshold.

I can see in it's GSC log : Memory shortage in multi source reliable async process log memoryUsagePercentage=95.33471112244294

Is there a Gigaspaces API call that gets the 'memoryUsagePercentage' value as seen in the log?


asked 2018-06-15 09:45:34 -0500

kp's avatar
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

See the doc pages for alert manager: https://docs.gigaspaces.com/xap/12.3/...

There is an alert named org.openspaces.admin.alert.config.HeapMemoryUtilizationAlertConfiguration.

answered 2018-06-15 12:07:57 -0500

Dixson Huie's avatar
edit flag offensive delete link more


Hi Dixson, Is it possible to check if the 'memoryUsagePercentage' for the Mirror Service only is above a certain level? Thanks, KP

kp's avatar kp  ( 2018-06-18 07:35:43 -0500 )edit


Is it possible to use the property 'space-config.engine.memory_usage.high_watermark_percentage' from https://docs.gigaspaces.com/xap/10.1/... with a Mirror Service?


kp's avatar kp  ( 2018-06-18 12:02:25 -0500 )edit

The 'space-config.engine.memory_usage.high_watermark_percentage' is one of the limits that the memory manager uses to manage the memory. It's not intended for monitoring. Also this feature works for a space or localcache, not for a mirror. Most likely, your mirror service is sharing a GSC that has space processing unit on it.

See: https://docs.gigaspaces.com/xap/12.3/...

Also these tools (memory manager and alert based on heap memory utilization) don't differentiate on how much each processing unit or service takes but take into account the JVM memory usage as a whole.

Dixson Huie's avatar Dixson Huie  ( 2018-06-18 14:39:06 -0500 )edit

Thanks, the mirror service does not share a GSC with any other PU.

kp's avatar kp  ( 2018-06-19 04:19:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-06-15 09:45:34 -0500

Seen: 347 times

Last updated: Jun 15 '18