I have been frustrated with out of memory (OOM) problems in a rather large app I am developing.
After a lot of reading it seems to me that it is possible my problem might be related to inadequate or not sufficiently timely activity by the garbage collector.
About the only control over the garbage collector appears to be code of this nature:
Code:
Private r As Reflector
r.RunStaticMethod("java.lang.System", "gc", Null, Null)
Force a garbage collection
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/29dV9qS
via IFTTT
Aucun commentaire:
Enregistrer un commentaire