Documentation > System Stored Procedures > @GarbageCollection

@GarbageCollection

Force the entire cluster to invoke the JVM’s garbage collection operation.
Note that this is automatically invoked by the BenchmarkController after loading a benchmark’s database (i.e., before it starts executing transactions).

Input Parameters

None

Return Values

Name Type Description
SITE String The name of the HStoreSite that executed the garbage collection operation.
ELAPSED Integer The number of milliseconds that the HStoreSite spent invoking the garbage collector.
CREATED Timestamp The timestamp that the garbage collection operation was executed on the HStoreSite.

Java Example

Client client = ClientFactory.createClient();
client = client.createConnection(hostname, port);
ClientResponse cresponse = client.callProcedure("@GarbageCollection");

Command-Line Example

hstore> EXEC @GarageCollection