From 5605c76a96691145e9b26c94b79d29420ff7b13f Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Wed, 31 Jan 2024 08:37:18 +1100 Subject: limit ram to 4gb (#961) limit RAM to 4 GB in developement enviroment. #961 --- build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle.kts b/build.gradle.kts index a5b6af8fb..90e8ddd57 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -165,6 +165,7 @@ loom { if (SystemUtils.IS_OS_MAC_OSX) { vmArgs.remove("-XstartOnFirstThread") } + vmArgs.add("-Xmx4G") } "server" { isIdeConfigGenerated = false -- cgit