[PD] shmem shared memory allocation fails
ch at chnry.net
Thu Jul 11 22:08:04 CEST 2013
600000 float is 2.4Mo. It's not a huge amount of space.
So 1st solution should work, and should be easier than 2nd solution.
if your question is a subtitle way to ask for an "allocate" message, then well... It's on my list. but i will not have time soon to work on that.
but anyone is free to help ;-)
Le 11/07/2013 21:56, Max a écrit :
> ok thanks for the explanation.
> Another question:
> If i want to have a flexible memory size, would you recommend to reserve a huge amount of space (600000) just in case, or could I try to create the shmem object in the right size with dynamic patching?
> Am 11.07.2013 um 11:49 schrieb Cyrille Henry <ch at chnry.net>:
>> usually, it's because the program that allocate memorry did crash.
>> So the memory is not free and can't be allocated by anyone else.
>> possible solution are :
>> - change mem Id
>> - manually free the memory :
>> ipcrm shm 1234 on a terminal
>> Le 10/07/2013 22:27, Max a écrit :
>>> what could be the causes that shmem fails to allocate the memory?
>>> could not allocate shmem memory Id : 1234, size 600000
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list