You can control the Gallery Block from Here
Here it is mentioned that the Latest WordPress Update requires more PHP Memory. So you should increase your PHP Memory to more than 250MB. This is a hosting/server issue and can be solved by your host or you can change it from php.ini file. You can find Details Here.
Users are requested not to open multiple support requests for same issue.