Fix #82 Check if memory is freed when large images are posted