From 888ddabad0ab9ffd43d87b13a2bdce21349bb491 Mon Sep 17 00:00:00 2001 From: Ansh Dadwal Date: Thu, 25 Jun 2026 11:22:39 +0530 Subject: [PATCH] Fix OOM for other bootstraps --- .../common/build/templates/gradle.tmpl.properties | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties b/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties index cea16375d2..3f28649e17 100644 --- a/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties +++ b/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties @@ -1,9 +1,7 @@ -{% if bootstrap_name == "qt" %} -# For tweaking memory settings. Otherwise, a p4a session with Qt bootstrap and PySide6 recipe +# For tweaking memory settings. Otherwise, a p4a session # terminates with a Java out of memory exception org.gradle.jvmargs=-Xmx2500m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -{% endif %} {% if args.enable_androidx %} android.useAndroidX=true android.enableJetifier=true -{% endif %} \ No newline at end of file +{% endif %}