Files
2026-09-21 17:37:53 +08:00

11 lines
517 B
Properties
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 内存配置:本机总内存 16G,Flutter 模板默认 -Xmx8G 过大,
# 叠加 Kotlin 编译守护进程 / IDEA / 后端进程会导致系统内存耗尽假死。
org.gradle.jvmargs=-Xmx3G -XX:MaxMetaspaceSize=1G -XX:+HeapDumpOnOutOfMemoryError
# Kotlin 编译守护进程同样限制堆内存
kotlin.daemon.jvmargs=-Xmx2G
android.useAndroidX=true
# This newDsl flag was added by the Flutter template
android.newDsl=false
# This builtInKotlin flag was added by the Flutter template
android.builtInKotlin=false