rungc

API Name

rungc

Description

Executes the garbage collection, and clears up the HEAP memory used for the given instance.

REST Methods

DELETE

Precondition

Server Manager and Agent must be running.

Input Params

instanceName Note (Release 9.2.4.3): Add these additional parameters if there are duplicate instance names: agentHostName, jdeHome.

Sample Request

{ "instanceName":"AIS_VC8001"} This is the sample request if you have duplicate instance names: { "instanceName":"AIS_VC8001", "agentHostName":"jdesmc.example.com”, "jdeHome":"/slot/oracle/jde_agent_jas/SCFHA"}

Return

HTTP status 200 is returned.

Sample Response

{ "instanceName":"JAS_OEL", "javaMemoryUsage":[ { "BEFORE- heapMemoryUsed":"198448816", "AFTER-HeapMemoryUsed":"55078512" } ]}

Exception

Throws an exception if the operation fails for any reason.