[Xposed Framework Modules] Lanchon:
hi [MENTION=9193758]GrindrGuyNYC[/MENTION],

i was happy on grindr 4.1.1 + mod 4.1.1 for a long time.

suddenly grindr servers force me to upgrade in order to connect.

backups done. i tried combo 4.3.11(.4) but grindr FCs on startup. took it offline: same thing, not server related.

aww wtf... maybe an update solved that, right?

next tried combo 4.3.13: same symptoms, offline: same thing.

ok, time to debug...

took it offline. disabled grindrmod. rebooted. grindr still fails to open.

took logcat...

02-03 12:15:36.241 15553 15570 W System : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
02-03 12:15:36.576 15553 15569 I FA : App measurement is starting up, version: 13001
02-03 12:15:36.577 15553 15569 I FA : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
02-03 12:15:36.577 15553 15569 I FA : To enable faster debug mode event logging run:
02-03 12:15:36.577 15553 15569 I FA : adb shell setprop debug.firebase.analytics.app com.grindrapp.android
02-03 12:15:36.609 15553 15620 E REALM_JNI: jni: ThrowingException 5, mmap() failed: Out of memory size: 1476395008 offset: 0 in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 101, .
02-03 12:15:36.609 15553 15620 E REALM_JNI: Exception has been thrown: Unrecoverable error. mmap() failed: Out of memory size: 1476395008 offset: 0 in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 101
02-03 12:15:36.617 15553 15569 I FA : Tag Manager is not found and thus will not be used
02-03 12:15:36.651 15553 15553 E REALM_JNI: jni: ThrowingException 5, mmap() failed: Out of memory size: 1476395008 offset: 0 in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 101, .
02-03 12:15:36.651 15553 15553 E REALM_JNI: Exception has been thrown: Unrecoverable error. mmap() failed: Out of memory size: 1476395008 offset: 0 in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 101
02-03 12:15:36.652 15553 15553 D AndroidRuntime: Shutting down VM
02-03 12:15:36.738 15553 15553 E AndroidRuntime: FATAL EXCEPTION: main
02-03 12:15:36.738 15553 15553 E AndroidRuntime: Process: com.grindrapp.android, PID: 15553
02-03 12:15:36.738 15553 15553 E AndroidRuntime: Theme: themes:{}
02-03 12:15:36.738 15553 15553 E AndroidRuntime: io.realm.exceptions.RealmError: Unrecoverable error. mmap() failed: Out of memory size: 1476395008 offset: 0 in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 101
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at io.realm.internal.OsSharedRealm.nativeGetSharedRealm(Native Method)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at io.realm.internal.OsSharedRealm.<init>(SourceFile:171)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at io.realm.internal.OsSharedRealm.getInstance(SourceFile:241)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at io.realm.internal.OsSharedRealm.getInstance(SourceFile:231)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at io.realm.RealmCache.b(SourceFile:319)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at io.realm.RealmCache.a(SourceFile:282)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at io.realm.Realm.getDefaultInstance(SourceFile:354)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at com.grindrapp.android.ui.base.BaseGrindrActivity.onCreate(SourceFile:108)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at com.grindrapp.android.ui.base.BaseBannerAdActivity.onCreate(SourceFile:43)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at com.grindrapp.android.ui.home.HomeActivity.onCreate(SourceFile:309)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.app.Activity.performCreate(Activity.java:6251)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.os.proxy.InstrumentationProxy.callActivityOnCreate(SourceFile:58)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2403)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.app.ActivityThread.-wrap11(ActivityThread.java)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.os.CrashFilterManager$b.handleMessage(SourceFile:253)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:98)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:148)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:5461)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
02-03 12:15:36.738 15553 15553 E AndroidRuntime:	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
02-03 12:15:36.740 9009 9322 W ActivityManager: Force finishing activity com.grindrapp.android/.HomeActivityOriginal

BIG WTF!!! i used grindrmod to grow the msg database and now realm can't mmap the thing

02-03 12:15:36.609 15553 15620 E REALM_JNI: Exception has been thrown: Unrecoverable error. mmap() failed: Out of memory size: 1476395008 offset: 0 in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_OsSharedRealm.cpp line 101

< 1.5 Gb mmap... i've got a 64 bit processor, 6 Gb phys ram... and you don't need free phys ram to mmap anyway, so wtf is going on??? is there any way to increase the max mmap size that Android will honor?

thought of restoring android 4.1.1 and using it offline to trim the msg database, but... 1) i want all messages, and 2) i doubt content deletion will trigger a db compaction, so the mmap file would stay the same size i guess.

any ideas? i'm the second user affected by this. obviously grindr works after clear data. will google around.