From: Wolfgang Grandegger <wg@domain.hid>
To: xenomai-help <xenomai@xenomai.org>
Subject: [Xenomai-help] switchtest fails with pthread_create: Cannot allocate memory
Date: Tue, 20 Jan 2009 17:45:19 +0100 [thread overview]
Message-ID: <4975FF9F.1050503@domain.hid> (raw)
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.
next reply other threads:[~2009-01-20 16:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-20 16:45 Wolfgang Grandegger [this message]
2009-01-20 16:47 ` [Xenomai-help] switchtest fails with pthread_create: Cannot allocate memory Gilles Chanteperdrix
2009-01-20 16:57 ` Wolfgang Grandegger
2009-01-25 22:40 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4975FF9F.1050503@domain.hid \
--to=wg@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.