Im searching for some clue about this behavior? I think it is a PHP memory_limit or WP define('WP_MEMORY_LIMIT', 'X') issue?
Sometimes images are resized and sometimes not, in other scenarios the browser crash:
Im using Dreamhost as shared hosting, and their 7 upload limit.
Error printed with an uploaded image of 6.4MB of size and with a width and height of: 11684x3855: Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 46736 bytes) in /PATH/wp-includes/media.php on line 254
Other users reports the same issue with files, for example, of 3MB but with higher width and height (superior to 2000px or 3000px).
Any help is welcome.
Thanks in advance.