Hi,

You should not run the compact operations *in the UI thread*, as they can
take more than 5 seconds. Instead, use a background thread. See
http://developer.android.com/training/articles/perf-anr.html

This is not related to the 45 seconds delay to reclaim old chunks.

Regards,
Thomas






On Friday, December 26, 2014, Jan Juno <[email protected]
<javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:

> I have MVStore 1.4.184 on android 4.1 and running compactRewriteFully or
> compactMoveChunks gives me "Application Not Responding" (ANR) dialog. Is
> there a way to prevent this? Maybe by setting cache? Is this because of the
> 45s delay?
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to