BTS

Message4774

Author whaid
Recipients whaid
Date 2014-04-03.09:30:04
Content
grml2ram fails reporting that there is too less free RAM despite there is plenty.

Problem: the MemFree entry of /proc/meminfo is parsed which is usually small
because free memory is used by buffers and caches.

Sample:
# grml2ram
 * Sorry, not enough free RAM (246276kB) available for grml-image (387712kB).   
# free
             total       used       free     shared    buffers     cached
Mem:       6126996    5880344     246652     239016    4634320     290508

Probable fix:
Parse a different value from /proc/meminfo, like Inactive?
History
Date User Action Args
2014-04-03 09:30:04whaidsetrecipients: + whaid
2014-04-03 09:30:04whaidsetmessageid: <1396517404.68.0.972528991347.issue1300@bts.grml.org>
2014-04-03 09:30:04whaidlinkissue1300 messages
2014-04-03 09:30:04whaidcreate