Re: out of memory problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Wed, Mar 28, 2007 at 10:17:57AM +0100 Deepak Joshi ha dit:
 
>  We are facing out of memory problem in our application. The application
>  uses one library to poll the kernel driver to get events. Can anybody
>  guide me how to get rid of this problem and how to figure out which
>  process is the root cause of this problem.

it's difficult to give you advice without having further
information. most likely your problem is in user space, not in kernel
space. if that's the case you could use a tool like efence, dmalloc or
valgrind to identify the process that causes the problem. if you don't
have the source code of the library that issues the calls to the
kernel driver, possibly ltrace or strace can give you some hint about
what's going on inside.

m.

-- 
         An ounce of practice is worth more than tons of preaching
                            (Mahatma Gandhi)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux