Problems with batch_add Problems with batch_add
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Problems with batch_add

Started by lethe, February 05, 2004, 05:48:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lethe

Hi,
I try in admin mode to add some pics to my album with batch mode.
With every pictures greater than 700k I get a message similiar to this:
Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 2048 bytes) in /srv/www/htdocs/modules/coppermine/include/picmgmtbatch.inc.php on line 183

Has anyone a clue what this may be ???

Casper

Yes, this is because the resizing the pics is using more memory than your server allows.

The amount of memory needed is not dependant on the image quality, but ison the image pixel size.  So a large pic, of say 1600 x 1200 may fail even if it has been optimised down to 200kb, whereas a 1mg image, 800 x 600 will be ok.

You can try to get your host to up the allowed memory usage, or reduce the pixel size of the pics.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

lethe


lethe

Where can I change the allowed memory setting ?
(I'm new to this :-( )