Re: MAXDSIZ 1GB memory limit for process

2007-10-22 Thread Richard Storm
On 10/22/07, Ted Unangst <[EMAIL PROTECTED]> wrote: > On 10/22/07, Richard Storm <[EMAIL PROTECTED]> wrote: > > Is there possible workarounds for my program to allocate more memory than > 1GB? > > you can mmap a large file with PROT_SHARED. this doesn't count as > data, since you are in essence pr

Re: MAXDSIZ 1GB memory limit for process

2007-10-22 Thread Ted Unangst
On 10/22/07, Richard Storm <[EMAIL PROTECTED]> wrote: > Is there possible workarounds for my program to allocate more memory than 1GB? you can mmap a large file with PROT_SHARED. this doesn't count as data, since you are in essence providing your own swap file for it. > Don't you think, that now

Re: MAXDSIZ 1GB memory limit for process

2007-10-22 Thread mickey
On Mon, Oct 22, 2007 at 07:17:02PM +0200, Markus Hennecke wrote: > Richard Storm schrieb: > >On 10/22/07, Ted Unangst <[EMAIL PROTECTED]> wrote: > >>On 10/21/07, Richard Storm <[EMAIL PROTECTED]> wrote: > >>>Is it possible to bypass this limit somehow? > >>depends, but if it's easy to bypass a limi

Re: MAXDSIZ 1GB memory limit for process

2007-10-22 Thread Markus Hennecke
Richard Storm schrieb: On 10/22/07, Ted Unangst <[EMAIL PROTECTED]> wrote: On 10/21/07, Richard Storm <[EMAIL PROTECTED]> wrote: Is it possible to bypass this limit somehow? depends, but if it's easy to bypass a limit, it's not much of a limit. Is there possible workarounds for my program to

Re: MAXDSIZ 1GB memory limit for process

2007-10-22 Thread Matthew Szudzik
> > Do you plan to increase this limit? > > i don't think so. Could somebody explain the reason for the 1 GB maximum datasize per process in OpenBSD? Is this a limit on the heap size of a process, or is it stack size + heap size? I can imagine how this limit might arise on a 32-bit system, si

Re: MAXDSIZ 1GB memory limit for process

2007-10-22 Thread Richard Storm
On 10/22/07, Ted Unangst <[EMAIL PROTECTED]> wrote: > On 10/21/07, Richard Storm <[EMAIL PROTECTED]> wrote: > > Is it possible to bypass this limit somehow? > > depends, but if it's easy to bypass a limit, it's not much of a limit. Is there possible workarounds for my program to allocate more memor

Re: MAXDSIZ 1GB memory limit for process

2007-10-21 Thread Ted Unangst
On 10/21/07, Richard Storm <[EMAIL PROTECTED]> wrote: > Is it possible to bypass this limit somehow? depends, but if it's easy to bypass a limit, it's not much of a limit. > Do you plan to increase this limit? i don't think so.

MAXDSIZ 1GB memory limit for process

2007-10-21 Thread Richard Storm
Is it possible to bypass this limit somehow? Do you plan to increase this limit?