On Sep 14, 4:57 pm, David Given <d...@cowlark.com> wrote:
> If I was going to have overcommit enabled, I'd much rather have the
> allocation failures exposed to the application in the form of the
> appropriate signal when the application fails to access the page.
[...]
> Incidentally, does Android use rlimits to impose per-process memory limits?

No, so you are free to use them for your application.  You could
probably get the behavior you desire by doing so.

% adb shell ulimit -a -H
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        unlimited
coredump(blocks)     unlimited
memory(kbytes)       unlimited
locked memory(kbytes) 64
process(processes)   808
nofiles(descriptors) 1024

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to