Re: [lc-devel] dd ENOMEM problems
Status: Beta
Brought to you by:
nitin_sf
From: Rodrigo S. de C. <rc...@im...> - 2002-11-23 01:15:48
|
Hi Claudio, Sorry for the delay. Better late than never :-) On Fri, Nov 08, 2002 at 12:23:51PM +0100, Claudio Martella wrote: > this is what i get: > > junior:~# dd if=/dev/cdrom of=/dev/null > dd: opening `/dev/cdrom': Cannot allocate memory [snip] > junior:~# cat /proc/meminfo > total: used: free: shared: buffers: cached: > Mem: 129544192 125943808 3600384 0 7217152 69705728 > Swap: 154820608 78082048 76738560 > MemTotal: 126508 kB > MemFree: 3516 kB > MemShared: 0 kB > Buffers: 7048 kB > Cached: 56000 kB > CCacheAlloc: 14952 kB > CCacheUsed: 4162504 kB This "CCacheUsed" is messed up and it is likely to be the cause of your memory allocation error. We check the amount of memory available to the system and also the amount of available memory in the compressed cache before returning allocation error. I am going to check it. BTW, I am going to file this bug report on the project site now. Con Kolivas reported a bug that is likely to be related to the bug you hit. Thanks for the report. Regards, -- Rodrigo |