aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorswirl <swurl@swurl.xyz>2022-01-14 17:34:50 -0500
committerswirl <swurl@swurl.xyz>2022-01-14 17:34:50 -0500
commitb19e3156154ba0dd232a3d165b1759c57e2858f2 (patch)
tree7e1b72705417b3aabd81b4d6cce6058cd9d57ef3
parent41dba376a803825fca2dc6b3b812ff8a15a9588e (diff)
downloadPrismLauncher-b19e3156154ba0dd232a3d165b1759c57e2858f2.tar.gz
PrismLauncher-b19e3156154ba0dd232a3d165b1759c57e2858f2.tar.bz2
PrismLauncher-b19e3156154ba0dd232a3d165b1759c57e2858f2.zip
Set maximum memory allocated to 4GB by default
-rw-r--r--launcher/Application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index a3e2c44f..47c9c20e 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -662,7 +662,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
// Memory
m_settings->registerSetting({"MinMemAlloc", "MinMemoryAlloc"}, 512);
- m_settings->registerSetting({"MaxMemAlloc", "MaxMemoryAlloc"}, 1024);
+ m_settings->registerSetting({"MaxMemAlloc", "MaxMemoryAlloc"}, 4096);
m_settings->registerSetting("PermGen", 128);
// Java Settings