Here is an excellent resource on how to create a swap file in OpenSolaris. I needed this because I kept running out of memory as I was evaluating build 125 when using VMWare Fusion on my MacBook even though I had the VM set for 1 GB of RAM.
http://www.cyberciti.biz/faq/solaris-unix-add-swap-file-space/
Enjoy,
gb