RTAI memory to load HAL RT COMPONENTS

More
10 years 2 months ago #78515 by narogon
hi everybody,

Does anybody know how to increase the available memory to load hal components?
I need to load 37 instances of my own component but it has only memory for 17 of them...

To reproduce the problem try to load 1000 not components and It only loads 599
Code:
[ 419.359210] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. [ 419.359336] , <uses LINUX SYSCALLs>, kstacks pool size = 524288 bytes. [ 419.359341] RTAI[sched]: hard timer type/freq = APIC/61894821(Hz); default timing: oneshot; linear timed lists. [ 419.359345] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2493966000 hz. [ 419.359348] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns. [ 419.370004] RTAI[math]: loaded. [ 424.247673] HAL: ERROR: insufficient memory for pin 'not.599.out'

How could I fix it??

BR

Please Log in to join the conversation.

More
10 years 2 months ago #78520 by narogon
I double the value of HAL_STACKSIZE and HAL_SIZE in hal_priv.h and it seems to work now

Please Log in to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum