I tried this command to create a ramdisk
sudo hdik -nomount ram://4194304
but it failed with the message hdik: attach failed: error 0x6e = 110
It works only if I decrease the size to about 1 GB. Is there any ramdisk limit in OS X or did I miss something?
Using Mac OS X Mountain Lion with 8 GB RAM.