low memory killer or out of memory killer could kill an app. If you want to 
check it, it might be better to get dmesg log by "adb shell dmesg". The 
following is a link to debugging oom.

https://wiki.mozilla.org/B2G/Debugging_OOMs

sotaro
----- Original Message -----
From: "Kumar McMillan" <[email protected]>
To: "Bosko Milakovic" <[email protected]>
Cc: [email protected]
Sent: Monday, December 2, 2013 2:33:06 PM
Subject: Re: Out of memory issue?


On Dec 1, 2013, at 6:56 AM, Bosko Milakovic <[email protected]> wrote:

> Hi all,
> 
> Is there a memory limit for a firefox os app? I have a problem with my game 
> which will crash at the start while loading the assets. Here is the log 
> errors:
> 
> I/GonkMemoryPressure(  139): Dispatching low-memory memory-pressure event
> ...
> I/Gecko   (  139): ###!!! [Parent][AsyncChannel] Error: Channel error: cannot 
> send/recv
> I/Gecko   (  139):
> I/Gecko   (  139): _fireFatalError()
> …
> 

I don't know what the memory limit is but it's typical for an app to be killed 
to free up memory. However, it seems odd that your app crashes on startup. You 
could run the b2g-ps command on your phone to see how much actual memory it is 
using. Example:

watch -n.5 adb shell b2g-ps --oom

If it seems unreasonable to crash you should file a bug.


> Did anyone has this kind of problem?
> Thanks.
> 
> Bosko
> _______________________________________________
> dev-webapps mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-webapps

_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to