| ▲ | karussell 3 hours ago | |
What do you mean? G1 definitely has automatic heap sizing, i.e. Xmx just defines the maximum it is allowed to use. edit: looks like you probably mean sth like this: https://openjdk.org/jeps/8359211 | ||
| ▲ | cyberax 3 hours ago | parent [-] | |
Indeed. One great feature in Go (or Python, or Node JS) is that you don't have to care about setting the -Xmx. The runtime will just use more RAM as needed, and you can use normal mechanisms like cgroups to limit the maximum size. | ||