Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

-XX:NewSize and -XX:MaxNewSize

Pragya Keshap answered on February 20, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


-XX:NewSize and -XX:MaxNewSize

0

We can set the size of the Young Generation using -XX:MaxNewSize. The Young Generation resides under the total heap memory and the Old Generation size will be smaller if we set the size of the Young Generation as large. The Young Generation size should never be larger than the Old Generation for stability reasons. Thus, -Xmx/2 is the maximum size we can set for -XX:MaxNewSize.

To achieve better performance, set the initial size of the Young Generation by setting the -XX:NewSize flag. This saves some costs in terms of the Young Generation growing to that size over time.

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Tags: whatever
Link to this answer
Share Copy Link
Contributed on Feb 20 2023
Pragya Keshap
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.