Hello,

when I try to run "switchtest" from the test-suite, I get the error

  "pthread_create: Cannot allocate memory"

on my MPC5200 PowerPC board. Some resource is exhausted and likely it's
system memory. I already realized heavy memory usage by threads using
the Xenomai POSIX skin. 

-bash-3.2# free      
             total       used       free     shared    buffers     cached
Mem:         61280      12044      49236          0          0       5796

-bash-3.2# ./switchtest rtk0 rtk0 rtup0 rtup0 rtus0 rtus0 rtuo0

-bash-3.2# free
             total       used       free     shared    buffers     cached
Mem:         61280      59700       1580          0          0       3932

Any idea what could cause the exhaustive use of memory? Is it the same on
x86? This test was  done with Linux 2.6.26 i-Pipe 2.2-07 and Xenomai 2.4.x
but it's the same with trunk.

Wolfgang.

_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help

Reply via email to