RTAI memory to load HAL RT COMPONENTS

More
09 Aug 2016 09:16 #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
[  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 or Create an account to join the conversation.

More
09 Aug 2016 11:56 #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 or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum