Minimize the list of installed packages and see if that keeps the AMI from exploding.