There is swap space in OS X and it is managed dynamically by the OS as needed. I don't believe there is a way or really any point in trying to set it to a fixed size.
You can see the swap file at the folder below. Just open Finder then click the Go menu then Go to Folder... then paste this path in.