Setting PermGen to 64 will omit the java param
This commit is contained in:
parent
ff9f9dd629
commit
5f4a364955
@ -52,3 +52,4 @@
|
||||
- Instance badges
|
||||
- Some pre/post command stuff (remove the timeout, variable substitution)
|
||||
- Fix logging when the system language is not en_US
|
||||
- Setting PermGen to 64 will now omit the java parameter because it is the default
|
||||
|
@ -415,7 +415,11 @@ QStringList MinecraftProcess::javaArguments() const
|
||||
|
||||
args << QString("-Xms%1m").arg(m_instance->settings().get("MinMemAlloc").toInt());
|
||||
args << QString("-Xmx%1m").arg(m_instance->settings().get("MaxMemAlloc").toInt());
|
||||
args << QString("-XX:PermSize=%1m").arg(m_instance->settings().get("PermGen").toInt());
|
||||
auto permgen = m_instance->settings().get("PermGen").toInt();
|
||||
if(permgen != 64)
|
||||
{
|
||||
args << QString("-XX:PermSize=%1m").arg(permgen);
|
||||
}
|
||||
args << "-Duser.language=en";
|
||||
if (!m_nativeFolder.isEmpty())
|
||||
args << QString("-Djava.library.path=%1").arg(m_nativeFolder);
|
||||
|
Loading…
Reference in New Issue
Block a user