The malloc(3) function may fail, for instance if the OS has no free memory remaining. In this case, it may be possible that some other processes to free some memory after some time.
In our program, instead of reporting an error immediately if no free memory is available, we will wait some time to see if the OS has freed memory for us.
|Author(s)||Mathieu Xhonneux & Maxime Mawait|
|Submission limit||No limitation|