From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4975FF9F.1050503@domain.hid> Date: Tue, 20 Jan 2009 17:45:19 +0100 From: Wolfgang Grandegger MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Xenomai-help] switchtest fails with pthread_create: Cannot allocate memory List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai-help 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.