Should GD need so much memory when resizing?
<p>I have a resize script i made in PHP that uses GD (my VPS doesn't have imagemagick installed) to resize an image, I have recently started getting memory errors so i have increased the memory_limit up to 50Mb and still get memory error. </p>

<p>The image I am trying to resize is only 2Mb, is this correct for PHP image stuff, something sounds a bit wrong to me.</p>
