If niko’s suggestion doesn’t throw any light on this, then it sounds like the php fpm (if you are using fpm) needs some more memory allocating to it to me.
I set my script memory limit to 128M which I think may be the default in 7.0?..
memory_limit = 128M