I've been desperately trying to upload my game symbols to crashlytics (gradlew uploadCrashlyticsSymbolFileRelease) and consistently failing with:
GC overhead limit exceeded
What have I tried already... I'm making sure my deamon has lots of memory to play with:
-XX:MaxHeapSize=32g,-XX:MaxPermSize=4096m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx4g
also on build.gradle:
dexOptions {
maxProcessCount 2
javaMaxHeapSize "16g"
}
running the uploadCrashlyticsSymbolFileRelease with debug and callstack, shows:
[org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
[org.gradle.process.internal.health.memory.MemoryManager] Emitting OS memory status event {Total: 17101328384, Free: 1893560320}
[org.gradle.internal.buildevents.BuildExceptionReporter] Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
I've also deleted the gradle registry folders, but nothing worked so far. Contacted Firebase support on monday, but also got no reply.
I'm using the following versions:
implementation 'com.google.firebase:firebase-analytics:17.4.1'
implementation 'com.google.firebase:firebase-crashlytics-ndk:17.0.0'
And this is working perfectly on another game I have.