LATEST VERSION: 9.1.1 - CHANGELOG
Pivotal GemFire® v9.1

gc

Force GC (Garbage Collection) on a member or members.

The default is for garbage collection to occur on all caching members.

Availability: Online. You must be connected in gfsh to a JMX Manager member to use this command.

Syntax:

gc [--group=value(,value)*] [--member=value]

Name Description
--group One or more group(s) of members on which garbage collection will be forced.
--member Name/ID of the member on which garbage collection will be forced.

Table 1. GC Parameters

Example Commands:

gc --member=server1
gc --group=Group1
gc

Sample Output:

gfsh>gc
Sucessfully executed GC