From: Gerhard Jaeger <g.jaeger@sysgo.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Memory leak problem
Date: Thu, 10 Feb 2005 08:40:38 +0100 [thread overview]
Message-ID: <200502100840.38232.g.jaeger@sysgo.com> (raw)
In-Reply-To: <200502101137.07711.robin@india.tejasnetworks.com>
On Thursday 10 February 2005 07:07, robin wrote:
> Hi
> We have an application running on denx linux kernel 2.4.20.
>
> Apparently there is a memory leak that we are not able to find.
> The application is giving out of memory error. Even if we restart
> the application without rebooting the kernel, (killing all application
> processes and restarting), it gives the same out of memory error.
> Rebooting the kernel solves the problem.
>
> It seems that the memory leak is not at the application level
> 'cos restarting the application doesnt solve the problem..
>
> 1. Any ideas where I should look for the leak??
Check /proc/slabinfo and see if there are some "supicious" buffer,
that only increase and never decrease. From the kind of buffer
showing this behaviour you might find out where to dig...
Check it before running the application and afterwards.
> 2. Is there any known memory leak problems with the kernel??
There are enough places, where a kernel could leak, but in general
such leaks in the main part are detected really fast. Undiscovered
leaks are often found in the drivers itself.
What's your kernel config?
Which HW are you using?
What does this application?
Ciao,
Gerhard
--
Gerhard Jaeger <gjaeger@sysgo.com>
SYSGO AG Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.osek.de
next prev parent reply other threads:[~2005-02-10 8:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-04 17:13 Problems with Serial Port on IceCube Linas Petras
2005-02-04 19:21 ` Wolfgang Denk
2005-02-10 6:07 ` Memory leak problem robin
2005-02-10 7:40 ` Gerhard Jaeger [this message]
2005-02-10 9:46 ` robin
2005-02-11 6:29 ` robin
2005-02-11 10:53 ` Wolfgang Denk
2005-02-06 18:06 ` Problems with Serial Port on IceCube Sylvain Munaut
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=200502100840.38232.g.jaeger@sysgo.com \
--to=g.jaeger@sysgo.com \
--cc=linuxppc-embedded@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).