[PD-dev] memory locking policy

Tom Schouten doelie at zzz.kotnet.org
Wed Oct 20 11:26:56 CEST 2004


On Wed, Oct 20, 2004 at 12:29:36PM +0200, Tim Blechmann wrote:
> > what sets the upper limit actually?
> from what i understand there is no actual limitation in memory ...
> 
> i found this posting on the linux kernel mailing list by Chris Friesen:
> > and that the apps may segfault if
> > they try to write to newly allocated memory and there is no more left.
> > It will still be possible to segfault on newly allocated stack as
> > well. 
> 
> so it depends on _when_ it's written to the memory ...
> 
> cheers ... tim
>

it seems this indeed can only be solved by allocating everything
in advance.. so what you suggest might be a good idea.

maybe a special-purpose malloc would do the trick?





More information about the Pd-dev mailing list