Check your trash in your Gallery settings. You might have tons of content that you haven't deleted. If you don't clear the trash in your gallery it still uses memory. If you've found my post to be helpful, please like the post. If my response resolved your issue, please press the "✓ Accept as Solution" button.