这是gradle日志
string sql = string.Format("SELECT * FROM userdata WHERE name = " + name);
Database.Insert(sql);
如何修复错误e: [kapt] An exception occurred: java.lang.OutOfMemoryError: GC overhead limit exceeded
e: /Users/mladenrakonjac/MyFirstKotlinApp/app/src/main/java/me/mnemonic/myloan/data/AppDatabase.kt: (1, 1): Some error(s) occurred while processing annotations. Please see the error messages above.
?
答案 0 :(得分:0)
这作为org.gradle.jvargs参数的值(例如,
)存储在gradle.properties文件中。org.gradle.jvmargs=-Xms2560m -Xmx4096m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=225m -XX:+UseCompressedOops