Reducing VM memory size from ~6GB to 4GB