Re: Re: Cannot brk more than 500M on kfreebsd-i386

2013-08-28 Thread Petr Salinger
Indeed this is the case. My question -- why the unusually low limit? I do not know, that is the FreeBSD default. I suspect it is because of the default .text, .data, and shared library loading addresses. One can use a linker script to place .text and .data above the shared libraries, in whic

Re: Re: Cannot brk more than 500M on kfreebsd-i386

2013-08-28 Thread Camm Maguire
Greetings, and thanks! Indeed this is the case. My question -- why the unusually low limit? I suspect it is because of the default .text, .data, and shared library loading addresses. One can use a linker script to place .text and .data above the shared libraries, in which case more than 500M sh

Re: Cannot brk more than 500M on kfreebsd-i386

2013-08-27 Thread Petr Salinger
Does the kernel hardwire the max brk according to the default layout, independently of .text address? Is this runtime configurable? Is there a workaround? I think that it is due to ulimit setting. Look at "data seg size" in "ulimit -a -H". Petr -- To UNSUBSCRIBE, email to debian-bsd-requ...