Well, after fighting CBL, we made a change Added on AndroidManifest.xml
android:largeHeap=“true” Because looking at AndroidStudio memory monitor, the app died after reaching 64 MB on RAM We have some datasets with about 70K records, but even with 10K died before the change. De: Hideki Itakura <[email protected]> Responder a: <[email protected]> Fecha: jueves, 29 de enero de 2015, 11:57 a.m. Para: <[email protected]> Asunto: Re: Android ChangeTracker gets OOM Exception on replication Hi Frederic, To understand this issue better, could you please post all log with all log level. Currently your log level is ERROR, can you set VERBOSE? Also we would like to know how many documents and document size that your application tries to replicate. Thanks, Hideki On Wednesday, January 28, 2015 at 1:12:00 PM UTC-8, Frederic Yesid Peña Sánchez wrote: > Hello > > We have been using CBL for iOS normaly for some time on. > > Now that we are also making our android application, we are facing issues on > replication. > > Concisely, we are having OOM exceptions and cannot replicate the data as in > iOS. > > Here is the Error: > > 01-28 16:07:31.295 14368-14450/biz.eadvising.pharmadvisorandroid > E/dalvikvm-heap﹕ Out of memory on a 102-byte allocation. > 01-28 16:07:31.970 14368-14450/biz.eadvising.pharmadvisorandroid > E/dalvikvm-heap﹕ Out of memory on a 104-byte allocation. > 01-28 16:07:35.640 14368-14450/biz.eadvising.pharmadvisorandroid > E/AndroidRuntime﹕ FATAL EXCEPTION: > ChangeTracker-http://kratos.pharmadvisor.com:4984/pharmadvisor-mobile2/ > java.lang.OutOfMemoryError: [memory exhausted] > at dalvik.system.NativeStart.main(Native Method) > > We are not doing anything special, just began testing replication and this > error does not let us advance any more. > > Any help would be appreciate, this is a showstopper (we have no time to > reimplement different sync-methods for iOS and Android) > > Thanks. -- You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/o8FWVZS6Scg/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/c3dbaf22-08c9-4dbd-b8ab-2 5a459b70bc2%40googlegroups.com <https://groups.google.com/d/msgid/mobile-couchbase/c3dbaf22-08c9-4dbd-b8ab- 25a459b70bc2%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/D0EFD0B2.37C62%25fredericpena%40gmail.com. For more options, visit https://groups.google.com/d/optout.
