|Using the GemFire SHell (gfsh) / gfsh Command Help|
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.
gc [--group=value(,value)*] [--member=value]
|group||Group(s) of members on which garbage collection will be done.|
|member||Name/Id of the member on which garbage collection will be done.|
gc --member=server1 gc --group=Group1 gc
gfsh>gc Sucessfully executed GC