Error after Uploading Image
Permalink
Hi,
I'm Using Concrete 5 Version 5.7.4.2 and after uploading an image I'm getting an Error:
03483.jpg
Out of memory (allocated 30932992) (tried to allocate 6758689 bytes)
... all the solutions in the forum are for lower versions I guess. So can anybody help me with this?
Here is my configuration:
# concrete5 Version
Core Version - 5.7.4.2
Version Installed - 5.7.4.2
Database Version - 20150504000000
# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).
# Server Software
Apache
# Server API
cgi-fcgi
# PHP Version
5.5.26
# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, shmop, SimpleXML, soap, SPL, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.
# PHP Settings
max_execution_time - 50000
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 5000
memory_limit - 120M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 40M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5
I'm Using Concrete 5 Version 5.7.4.2 and after uploading an image I'm getting an Error:
03483.jpg
Out of memory (allocated 30932992) (tried to allocate 6758689 bytes)
... all the solutions in the forum are for lower versions I guess. So can anybody help me with this?
Here is my configuration:
# concrete5 Version
Core Version - 5.7.4.2
Version Installed - 5.7.4.2
Database Version - 20150504000000
# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).
# Server Software
Apache
# Server API
cgi-fcgi
# PHP Version
5.5.26
# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, shmop, SimpleXML, soap, SPL, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.
# PHP Settings
max_execution_time - 50000
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 5000
memory_limit - 120M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 40M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5
How large of a file is it? Could you by chance attach it here so that we could try and replicate the issue?
Thanks for the reply,
the file size is about 160 kb with an resolution of 975x1733
the file is attached on this post.
the file size is about 160 kb with an resolution of 975x1733
the file is attached on this post.
I was able to download and upload this on a 5.7.4.2 site with similar memory limits (128M) without issue. Were you uploading multiple files at once when you received this error? Have you tried uploading it to your site again since?
Are you using any customizations / packages on your site that might be causing additional memory usage?
Another thing it *could* be is if the server you are on is running out of memory and is causing php to crash when it runs out.
Are you using any customizations / packages on your site that might be causing additional memory usage?
Another thing it *could* be is if the server you are on is running out of memory and is causing php to crash when it runs out.
Hi,
yes I tryed it several times. But always the same error,
I've got no additionals running, just a clean concrete5 with the elemental theme. I've also uploaded much bigger pictures and files and it worked totaly fine.
:(
yes I tryed it several times. But always the same error,
I've got no additionals running, just a clean concrete5 with the elemental theme. I've also uploaded much bigger pictures and files and it worked totaly fine.
:(
Have you tried uploading any other files since you've started receiving this error? I know you said that you've uploaded other files that were larger, I'm just curious if you've tried uploading anything else since.
Yes,
just did a test and it worked totaly fine , an other Picture, jpg. about 760kb and a 768x1024
Maybe something is wrong with the picture but I dont get it.
just did a test and it worked totaly fine , an other Picture, jpg. about 760kb and a 768x1024
Maybe something is wrong with the picture but I dont get it.
Hmmm... Maybe you could try converting it to a PNG, and uploading it. If that works, convert from the PNG back to a jpg and try uploading again. I wouldn't have expected a corrupt image to result in OOM exceptions typically though.