RE: Kernel Out of memory with NI PCI-6731

I recall the memory leak you're referring to and I updated all the machines I was using to use the source from cvs instead of the 0.7.70 tar.gz files.  I'm sure my machines were running the newer version when they locked up the second time.  I was hoping that was the memory leak that would fix things, but I was disappointed when they locked up again.  Sorry I didn't mention this in the first email.

Ben

-----Original Message-----
From:	Ian Abbott [mailto:abbotti_at_mev.co.uk]
Sent:	Fri 11/11/2005 3:08 AM
To:	Pillet Benjamin
Cc:	comedi_at_comedi.org
Subject:	Re: Kernel Out of memory with NI PCI-6731

On 08/11/2005 18:16, Pillet Benjamin wrote:
> I've been using comedi for about 4 months with great success, except for 
> one little memory problem.  I have a dual P4 server with 1GB of memory 
> setup running CentOS 4.0 and a 2.6.9 kernel.  I installed a NI PCI-6731, 
> comedi, and comedilib and a program I wrote based on ao_waveform and 
> started running it as a long-term process using the ni_pcimio driver.  
> After about 3-4 weeks, the machine stopped responding and the screen had 
> a kernel message "Kernel: Out of memory".  I thought that was odd and 
> perhaps a fluke, so I just rebooted the machine.  I started monitoring 
> the memory usage more closely, and the memory slowly went from 1GB free 
> to about 24 megabytes.  After about 3 weeks, the Kernel out of memory 
> message popped up when the system locked.  The program I wrote didn't 
> have any dynamic memory allocations (malloc or vmalloc), so I was pretty 
> sure it wasn't my code.

A memory leak was fixed in Comedi CVS on October 19th.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

_______________________________________________
comedi mailing list
comedi_at_comedi.org
https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

Received on 2005-11-12Z05:08:59