El martes 10 de octubre, Damian Pietras escribió: > On Tue, Oct 10, 2006 at 10:47:35AM +0200, DaVinci wrote: > > I don't understand why, but if mocp is much time playing music, it > > consumes a great account of memory. With other players like cmus, > > that account is constant along time. In mocp, it increments > > progresively. > > First, how do you mesure it and what are the numbers? People sometimes > tell me that MOC uses much memory seeing the VSZ column in ps output > or the VIRT column in top. This memory is not physically allocated, > but MOC uses mmap() to map whole files to memory. The real memory used > is in the RSS colums.
I see next columns in top: VIRT, RES, SHR and %MEM. My guide is %MEM, that with moc raises constantly during play. Same occurs with the other columns. But that is not all. In many situations I have put moc playing music in computer while I simply listen. Only active process was moc in a computer with 1Gb of memory. After two or three hours of music, when I try to use again computer, I feel that it works bloatly, like if it was swaping from virtual memory. That is extrange in a machine that only has a console (without X Window) running moc, isn't it? In time that I have written this message, moc is playing a flac file from Schubert 9ª symphony. Only 2º movement, 15 minutes, and these are columns from top: RES SHR %MEM 57m 54m 5.8 When music began, %MEM was 0.5. Is that normal? Thank you for your interest, and excuse my poor english. David