|
ASSERT(total_mem > free_mem); |
This assert is not reliable because each function calls sysinfo at different times. The sysinfo for free then the sysinfo for total happening at different times means that the total might be less than or equal to free.
See alpinelinux/aports#7895 (comment) which excerpts from https://cloud.drone.io/alpinelinux/aports/3728
libuv/test/test-get-memory.c
Line 37 in c4e9657
This assert is not reliable because each function calls
sysinfoat different times. Thesysinfofor free then thesysinfofor total happening at different times means that the total might be less than or equal to free.See alpinelinux/aports#7895 (comment) which excerpts from https://cloud.drone.io/alpinelinux/aports/3728