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

Ask Your Question
0

Is there a Gigaspaces API that gets the 'memoryUsagePercentage'

HI,

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?

KP

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

kp gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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 gravatar image
edit flag offensive delete link more

Comments

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

kp gravatar imagekp ( 2018-06-18 07:35:43 -0500 )edit

Hi,

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

kp gravatar imagekp ( 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 gravatar imageDixson Huie ( 2018-06-18 14:39:06 -0500 )edit

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

kp gravatar imagekp ( 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

Stats

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

Seen: 166 times

Last updated: Jun 15