Community mailing list archives
Re: wkhtmltopdf severe memory leakby
After increasing the worker limit_memory_hard parameter to 2GB we have had no further reports of any problems.
Now on the malloc() system call, this does a memory reservation. On Linux this does not mean that this memory is actually "used"!! When the linux kernel receives the malloc() system call, it will allocate memory to the process. When the memory actually gets used by the application, the linux memory manager will allocate physical memory pages for the process. Only at this moment memory pages are freed from the cache or memory pages from other process might get swapped out to swap areas.