[PD] shmem and bigger buffer size

cyrille henry ch at chnry.net
Thu Jan 30 15:45:20 CET 2020


Do you have enough free memory on your computer?
I just test on y computer, I can reproduce this error as soon as I ask an allocation bigger than the available memory on my hardware.
(between 500 000 000 and 1 000 000 000 points)


Le 30/01/2020 à 12:11, iftah gabbai a écrit :
> ...perhaps i should elaborate, im trying to dump an array in the size of 11 520 000(2 min of 96 khz audio) to another instance of PD, is it possible at all or do i have to break it to smaller chunks?
> On Thu, Jan 30, 2020 at 12:01 PM iftah gabbai <ift.gab at gmail.com <mailto:ift.gab at gmail.com>> wrote:
>     hello all, ive been experimenting with shmem (the latest one i could find in deken), it works fine as long as i use very small arrays, as soon as i try to use bigger arrays ( havent checked where the breakpoint is but more than approx 400000) it doesnt and it returns "could not allocate shmem memory Id"
>     i wonder if im doing something wrong or if its a known thing?
>     thanks!
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list