svn commit: r270759 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs vm
John Baldwin
jhb at freebsd.org
Mon Sep 8 17:09:11 UTC 2014
On Sunday, September 07, 2014 04:56:49 PM Slawa Olhovchenkov wrote:
> PS: very bad that 'data limit' don't anymore reflect application
> memory consumer. and very small application can adapt to 'no memory'
> from system.
You can use RLIMIT_AS instead of RLIMIT_DATA. jemalloc can also be configured
to use sbrk(), though I think there's no way to prevent it from falling back
to mmap(MAP_ANON) if sbrk() fails.
--
John Baldwin
More information about the svn-src-head
mailing list