Queries Java Virtual Machine (JVM) configuration information of an application or a specified instance group where an application is deployed.
Debugging
Request headers
This operation uses only the common request header. For more information, see Common request parameters.
Request syntax
GET /pop/v5/app/app_jvm_config HTTP/1.1Request parameters
| Parameter | Type | Position | Required | Example | Description |
|---|---|---|---|---|---|
| AppId | String | Query | Yes | 3616cdca-4f92-4*************** |
The ID of the application. |
| GroupId | String | Query | No | 8123db90-880f-48************** |
The ID of the instance group.
|
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| Code | Integer | 200 |
The HTTP status code. |
| JvmConfiguration | Struct |
The JVM configuration information of the application or instance group. |
|
| MaxHeapSize | Integer | 1000 |
The maximum size of the heap memory. Unit: MB. |
| MaxPermSize | Integer | 1000 |
The size of the permanent generation heap memory. Unit: MB. |
| MinHeapSize | Integer | 500 |
The initial size of the heap memory. Unit: MB. |
| Options | String | -XX:+UseConcMarkSweepGC -XX:-UseParNewGC |
The custom JVM parameters. |
| Message | String | success |
The returned message. |
| RequestId | String | 3F43-F34V-0VCD*********** |
The ID of the request. |
Examples
Sample requests
GET /pop/v5/app/app_jvm_config HTTP/1.1
Common request header
{
"AppId": ""
}Sample success responses
XML format
<Message>success</Message>
<JvmConfiguration>
<MaxHeapSize>1000</MaxHeapSize>
<MinHeapSize>500</MinHeapSize>
<Options> -XX:+UseConcMarkSweepGC -XX:-UseParNewGC</Options>
</JvmConfiguration>
<Code>200</Code>JSON format
{
"Message": "success",
"JvmConfiguration": {
"MaxHeapSize": 1000,
"MinHeapSize": 500,
"Options": " -XX:+UseConcMarkSweepGC -XX:-UseParNewGC"
},
"Code": 200
}Error codes
For a list of error codes, visit the API Error Center.