Page 1 of 1

[solved] Memory and Wordpress/NGgallery

Posted: 18 Oct 2008, 16:17
by Binkem
I stumbled opon this problem:

when uploading pictures to WordPress NGgallery it cannot create thumbnail because it hasn't got enough free memory (it says it requires 43 megs)

I found the debian comman called FREE which reports the status of my memory:
total used free shared buffers cached
Mem: 250 243 6 0 5 135
-/+ buffers/cache: 102 147
Swap: 1129 0 1129
So I only hav six megs of free memory and a swap partition which isn't in use. Does this mean Bubba cannot access the swap? or is this normal. If so is there a way to (temporarily) free more memory to create the thumbnails?

Any help would be appreciated.

Martijn

[EDIT]

Solved this one myself:
Free memory should may be found on the second line starting with buffers/cache. The problem with Nextgen galley was in the maximum memory setting in PHP.ini which is by default set at 16M. Raising this to 48M solved the issue.

Martijn