From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] switchtest fails with pthread_create: Cannot allocate memory
Date: Tue, 20 Jan 2009 16:47:23 +0000 [thread overview]
Message-ID: <4976001B.5050105@domain.hid> (raw)
In-Reply-To: <4975FF9F.1050503@domain.hid>
Wolfgang Grandegger wrote:
> 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.
It not is the stack size problem described in TROUBLESHOOTING ?
--
Gilles.
next prev parent reply other threads:[~2009-01-20 16:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-20 16:45 [Xenomai-help] switchtest fails with pthread_create: Cannot allocate memory Wolfgang Grandegger
2009-01-20 16:47 ` Gilles Chanteperdrix [this message]
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=4976001B.5050105@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=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.