Memory leak in Linux kernel 2.6.28.10
we are using Linux Kernel 2.6.28.10 for mips Architecture in a embedded system.
We are facing memory leak when we run any application or even if we let the system idle. I am trying various options to identify whether it is because of Kernel or Application/driver/uboot patches which we did porting from 2.6.15.4 I wrote the small program as following after reading the change log of 2.6.30.5 memory leak fix in fflush to identify whether it is because of fflush Int main() { While(1) { fflush(stdout); } } After running this program we are seeing memory leak ,within 3 mins memory is reduced from 31000k to 1800k. Once it reaches 1200k the memory is not reducing. we donno why ? The same application when we run in 2.6.15.4 kernel there is no memory leak. Is there any patches for kernel 2.6.28.10 which fixes this? If the above fflush is not causing memory leak. i would like know why the memory is getting reduced after running this program. Whether the Kernel 2.628.10 is having any memory leak in the kernel like i suspected above or any memory leak related to network or loopback or something. Thanks in advance ! |
Quote:
|
All times are GMT -5. The time now is 11:39 PM. |