Open the Terminal app from Applications > Utilities and enter the following command: diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount ram://XXXXX` In OS X, there are two primary methods of creating a RAM Disk: the Terminal or an app. Now, it’s time to create the Disk itself. Play around with the tools and techniques below to determine the best choice for your Mac and your needs. On the other hand, if you’re just muxing video and audio files you can choose a RAM Disk a bit higher than 50 percent of your total memory. If you’re doing heavy Photoshop work, for example, you’ll want to leave more memory available for the app. Your choice will also depend on what applications you need to run while the RAM Disk is mounted. On a Mac with 16 GB of RAM, for example, don’t make your RAM Disk bigger than 8 GB. In general, it’s wise to keep your RAM Disk at or below 50 percent of your total physical memory. Therefore, make sure to choose a good ratio between your needs and your overall system memory. You’ll want to be careful to leave enough RAM available to run your Mac, however if you use most or all of your RAM for a RAM Disk, the system will begin paging aggressively to the hard drive and overall system performance will plummet. The methods for creating RAM Disks, outlined below, will allow you to create a volume of any size.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |