first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# 内存配置:本机总内存 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
|
||||
Reference in New Issue
Block a user