Wordpress crashes after uploading image(possible memory problem)


Wordpress crashes trying to upload a large image(1mb to 6mb, dimensions between 1000x1000 and 5000x5000)

Iv narrowed it down to a memory problem. its not a plugin problem,iv disabled all plugins and it works fine. then activated them one by one until crash, but then turned off the previous plugins i enable and enable the plugin it crashed on and it works so probably a memory problem, to many plugins(24) for wordpress to handle,

My memory_limit is now set to 192M(tried 512M aswell) still didnt work.

i set the wp-config.php to wp_max_memory_limit to 192M the 256M
still no joy