The function imagedestroy() frees any memory after creating an image with php.
Presumable it frees only the physical memory and not the tmp file that is created every time in linux located in /tmp, or am I wrong?
The thing is, when on a shared hosting with limited space this limit will be reached very quickly when each time there is a tmp file created of ~10kb.
Who need to solve this? Is it a linux host configuration thing? Or isn't doing imagedestroy() a good job? Or do I need clear the /tmp directory myself?
Thansk for all help