Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Problems with batch_add  (Read 4771 times)

0 Members and 1 Guest are viewing this topic.

lethe

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Problems with batch_add
« on: February 05, 2004, 05:48:29 pm »

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 ???
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Problems with batch_add
« Reply #1 on: February 05, 2004, 06:32:11 pm »

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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Problems with batch_add
« Reply #2 on: February 05, 2004, 06:37:23 pm »

Thanks !!!!!!!!!!!
Logged

lethe

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Problems with batch_add
« Reply #3 on: February 08, 2004, 04:28:55 pm »

Where can I change the allowed memory setting ?
(I'm new to this :-( )
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.