Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Out of Memory in fun_extra.php
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3181
Page 1 of 1

Author:  bsggm [ 11. Dec 2011, 10:05 ]
Post subject:  Out of Memory in fun_extra.php

Any suggestions on curing this problem?
Fatal error: Out of memory (allocated 60030976) (tried to allocate 16000 bytes) in
.../admin/_include/fun_extra.php on line 659

I was trying to load a 2.76Mb file and resize it via the HTML upload page. When the flash uploader is used I just get a generic message saying upload failed. Not sure why over 60Mb of memory has been used to upload a 2.7Mb jpeg image. How can I reduce the memory usage as I am limted to 80Mb by the ISP.

Author:  TinyWebGallery [ 12. Dec 2011, 00:03 ]
Post subject:  Re: Out of Memory in fun_extra.php

2.7 MB is the image size but not the needed memory. Because for this the uncompressed version is important. The info.php tells you an esimation how big your images (Resolution) can be.

You can use image magick if you want an alternative for the resize. See info.php as well.

- Michael

Author:  TinyWebGallery [ 15. Dec 2011, 11:56 ]
Post subject:  Re: Out of Memory in fun_extra.php

Or increase the php memory.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/