I'm running Ubuntu 16.04.6 LTS.
The output of the command yields:
$ perl -e "print 1024 * qx{ awk '/^((Swap)?Cached|MemFree|Buffers):/{ sum +=
\\\$2 } END { print sum }' /proc/meminfo }"
528100048896
I will see if I can write a dummy Python script to reproduce my results as
you've suggested.
Cheers,
Evan
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, July 9, 2020 3:24 AM, Ole Tange <[email protected]> wrote:
> On Tue, Jul 7, 2020 at 10:55 PM [email protected] wrote:
> :
>
> > I've pulled down version 20200622 as requested and reran the exact same
> > command.
> > It exits with the same error:
> >
> > - The version number: 20200622
> > - The bugid: Less than 1 byte memory free
>
> This error occurs (obviously) if there is less than 1 byte of memory
> free. But it also occurs if the script detecting the amount of memory
> free fails.
>
> For GNU/Linux the script is :
>
> perl -e "print 1024 * qx{ awk '/^((Swap)?Cached|MemFree|Buffers):/
> { sum += \\\$2 } END { print sum }' /proc/meminfo }"
>
> > Please let me know how I can help.
>
> Please run the above line.
>
> Also see if you can make it fail by running something other than Shap.
> Possibly just a dummy Python script that eats all the memory.
>
> /Ole