[solved] Memory and Wordpress/NGgallery

Got problems with your B2 or B3? Share and get helped!
Post Reply
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

[solved] Memory and Wordpress/NGgallery

Post 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
Post Reply