Re: kernel Memory Leak Issue



Hello Rangi:
This is not a bug. Linux will release the memory
when it is needed again. I've noticed this myself a few years ago using
cacti to view memory usage. Also, you should make sure that the Java apps
is using GC(garbage collection) correctly.

On Fri, Feb 6, 2009 at 8:04 PM, Rangi, Jai <jrangi@xxxxxxxxxxxxxx> wrote:

All,

Here I have a little issue with System memory and Java application. We
have this java application that uses all the memory. If we shut down the
application the memory does not come back. The developer think that this
is bug in the Kernel.



This is what I see on the server.



[root@halapcnt4s ~]# ps aux | awk '{sum +=$4}; END {print sum}'

28.7

Total Memory % used.

[root@halapcnt4s ~]# free -t -m

total used free shared buffers
cached

Mem: 24108 24083 24 0 66
659

-/+ buffers/cache: 23358 750

Swap: 2047 0 2046

Total: 26155 24084 2071

According to this 23.3 Gb is used out of 24GB.

29% of 24GB is 6.96GB. Now where is rest of (23.6-6.96) 16.34 GB memory
is used?

Thank you,


Jai Rangi







--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjectunsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




--
Ezra Taylor
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Guido rethinking removal of cmp from sort method
    ... has a bug in it. ... More memory yes; take longer to sort, almost certainly not (except, ... that otherwise would have been put in the cmp function, ... So far I have one actual use-case: Guido's example of sorting a huge list ...
    (comp.lang.python)
  • Re: Forth as an operating system
    ... Suppose that bug results in failure to yield. ... Or what happens on a memory leak? ... E.g. how to deal with idiots who ... defined interface or architectures, either, and even good programmers tend ...
    (comp.lang.forth)
  • Re: MyString Class
    ... > I compiled your program and run it under the debugger. ... > The first crash happens in ... ... > memory is flawed. ... First bug fixed. ...
    (comp.lang.cpp)
  • Re: Please help!
    ... This bug check is issued if paged memory is accessed ... installation of a faulty device driver, system service, or BIOS. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Error: "IRQL_NOT_LESS_EQUAL" help
    ... This bug check is issued if paged memory is accessed when the IRQL is too high. ... If you encounter bug check 0xA while upgrading to a later version of Microsoft® Windows®, this error might be caused by a device driver, a system service, a virus scanner, or a backup tool that is incompatible with the new version. ...
    (microsoft.public.windowsxp.help_and_support)