Subject: Re: bug#65445: 29.1; Android emacs: False memory full condition, due to Java exception (?)

From: Po Lu <[email-masked]>
Date: Tue, 22 Aug 2023 14:51:41 +0800

Johan Widén <[email-masked]> writes:

> I used emacs swiper to search for "out of memory" but found nothing.
> This was in the dumpstate*.txt file fetched by
>   adb bugreport org.gnu.emacs

Perhaps the log buffer has been rotated past the point of the error.
Also, I believe adb bugreport only includes log messages after a crash:
since Emacs is capable of recovering from these faux ``out of memory''
errors, the message printed may not appear within generated bug reports.

How about:

  (adb) logcat | grep -A10 "Possible out of memory"

?