Create an 8GB RAM Disk
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://16384000`
The size argument is calculated as MEGABYTES * 2048. So if you want a 256mb ram disk…. 256 * 2048 = 524288
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://16384000`
The size argument is calculated as MEGABYTES * 2048. So if you want a 256mb ram disk…. 256 * 2048 = 524288