Configures the Java virtual machine (JVM) parameters for an application or an instance group where the application is deployed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ConfigApplication |
update |
*Application
|
None | None |
Request syntax
POST /pop/v5/app/app_jvm_config HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. |
c627c157-560d-************* |
| GroupId |
string |
No |
The ID of the instance group where the application is deployed. You can call the ListDeployGroup operation to query the group ID. For more information, see ListDeployGroup. Note
|
0afc726e-077e-4357-98b2-db9f7145**** |
| Options |
string |
No |
The custom JVM parameters. Note
|
-Dproperty=value |
| MinHeapSize |
integer |
No |
The initial size of the heap memory. Unit: MB. Note
|
500 |
| MaxPermSize |
integer |
No |
The size of the permanent generation heap memory. Unit: MB. Note
|
1000 |
| MaxHeapSize |
integer |
No |
The maximum size of the heap memory. Unit: MB. Note
|
500 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| RequestId |
string |
The ID of the request. |
D16979DC-4D42-******************** |
| JvmConfiguration |
object |
The settings of the JVM parameters. |
|
| MaxPermSize |
integer |
The size of the permanent generation heap memory. Unit: MB. |
1000 |
| Options |
string |
The optional parameters. |
”“ |
| MaxHeapSize |
integer |
The maximum size of the heap memory. Unit: MB. |
500 |
| MinHeapSize |
integer |
The initial size of the heap memory. Unit: MB. |
500 |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "D16979DC-4D42-********************",
"JvmConfiguration": {
"MaxPermSize": 1000,
"Options": "”“",
"MaxHeapSize": 500,
"MinHeapSize": 500
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.