Thumbnails not generated (memory exausted)

pdugas

Joined: 2004-01-07
Posts: 16
Posted: Wed, 2005-01-12 05:23

Okay, got a strange one that I can't seem to track down. When g2 tries to create thumbnail and resize images for some (not all) of my JPEG images, it fails leaving an error in the apache error_log:

Allowed memory size of 67108864 bytes exhausted (tried to allocate 0 bytes)

Yes, I set the memory_limit in php.ini that high from the default of 8M just to see if it would keep going. I've been importing my family photo library into g2 starting with items from back in 2002 one folder at a time., In one such folder, there were a mix if images from a few different cameras (based on the file naming schemes). Images from one camera consistently generated the error; the others were fine. Images from my new camera (got it for Christmas) are generating the same errors now.

Thoughts on a fix or further investigation greatly appreciated...

----

Gallery URL (optional): gallery.dugas.cc
Gallery version: g2-cvs-2005-01-11
Webserver (with version): Apache/2.0.52
Datatabase (with version): MySQL/3.23.58
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s): GD/2.0.28, ImageMagick/6.0.7.1, netPBM/10.25
Operating system: Linux, Fedora CORE 3
Web browser/version: Firefox 1.0

 
pdugas

Joined: 2004-01-07
Posts: 16
Posted: Wed, 2005-01-12 16:21

Complete reinstall from scratch (a CVS from a few minutes ago) appears to have repaired. Perhaps something gor corrupted in g2data or the database. Don't have either for forensics. Oh well.

Thanks anyway.