Memory leak?

José Antonio Sánchez getaceres at gmail.com
Thu Oct 14 10:15:10 CEST 2004


Maybe that memory is free but cached by the operating system, so it's
really free memory.
I don't know, I haven't seen it yet, but look at the cached memory and
free memory. If they both are the same together it's all ok.


On Thu, 14 Oct 2004 07:46:25 +0200, Peter van den Bosch <pvdb at dse.nl> wrote:
> Hi list,
> 
> I run Linux 2.6.8.1 vesuvio (RTAI-3.1-test4) compiled for Duron and
> noticed that when running user space programs they seem to not return
> all the used memory! I did the following with the user/preempt example:
> 
> grep MemFree < /proc/meminfo
> ./run (CTRL-C)
> grep MemFree < /proc/meminfo
> 
> which results in 300kB less free memory every time! With the result that
> running the program several hundreds of times it won't start anymore
> because of lack of memory :-(
> I also noticed this with my own programs. Is this a known problem or
> some mistake of mine?
> 
> Peter
> 
> BTW: just tested kern/preempt behaves the same way, only with 200kB of
> memory
> 
> _______________________________________________
> RTAI mailing list
> RTAI at rtai.org
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>




More information about the Rtai mailing list