[PD-dev] trying to understand class_new
Boštjan Jerko
bojerko at gmail.com
Tue Mar 24 11:49:40 CET 2020
Do you know what are the minimum values for the stack and heap? At least rough estimation.
B.
> On 24 Mar 2020, at 11:30, Christof Ressi <info at christofressi.com> wrote:
>
> Check how much memory Pd is using. I mean, a 16 kB stack and 130 kB heap is still pretty small... (if those hex numbers mean bytes). Pd hasn't really been designed to run on microcontrollers ;-). Anyway, have a look at m_memory.c, there are some heap memory debug options, in case your developer tools don't provide this.
>
> Christof
>
> On 24.03.2020 09:25, Boštjan Jerko wrote:
>> I don’t use PDINSTANCE, but after checking some online stuff I thought maybe the size of the stack is the problem so I’ve changed it from 0x400 to 0x4000 and heap size from 0x200 to 0x2000, but no success.
>> Still - I guess there is something going on with the memory so I’ll be checking this some more.
>>
>>
>
>
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev
More information about the Pd-dev
mailing list