Why no Swap partition

So I installed ubuntu onto a virtual machine and just realized that it no longer creates a swap partition. Why is this I thought those were impotent.