compacting 1GB database memory leak - known issue?

29 views
Skip to first unread message

Michael Hines

unread,
Oct 16, 2014, 5:04:46 AM10/16/14
to mobile-c...@googlegroups.com
Hi,

I couldn't find any github issues for this, so I thought I'd check first. As this is not critical (my app still runs without compaction), I can try to help debug this over time....

I'm running couchbase mobile version 1.0.2 on Android 4.4.2. The size of my database is over 1GB and is a large variety mix of small documents, big documents, and attachments (mostly images and one or two 40MB attachments).

When I try to issue the compact() operation in CBL, I watch the memory usage of the application spiral out of control.....Once it reaches over 500MB, the app dies immediately. I can't find any obvious information in the android logcat to explain why it crashed, but I think it's safe to assume that either the Linux android OOM killer got a hold of it or Android decided to kill it.

Is this a known issue, or should I open a new ticket?

- Michael




Traun Leyden

unread,
Oct 16, 2014, 11:39:14 AM10/16/14
to mobile-c...@googlegroups.com

--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/9fac9456-7fe7-4cb9-801b-09a203fa4d9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages