For simpler users, more specifically, Mac users, there is iRamDisk, an app worth $1.99 in the Mac App Store which allows you to create virtual RAM disks and mount them as regular drives. Before you create a RAM disk, you should know that it is volatile memory. These drives depend on a continuous power supply to retain the data saved to them. IRamDisk will create and manage RAM disks for you. There is a standard setup for Xcode development, and you can easily mount the caches folder used by AppCode too. Here is my setup: Update → iRamDisk menu bar icon stands out of the croud, so I made a replacement.
Gili RAMDisk is an easy-to-use application that will map a certain amount of RAM to a system partition. You choose its size (depending on the amount of RAM in your system), drive letter, and file system. You can copy, move and delete files on it. Like a physical disk, a RAM disk can also be...
Platforms: Windows
License: Shareware | Cost: $24.95 USD | Size: 143.36 KB | Download (84): GiliSoft RAMDisk Download |
Gili RAMDisk is an easy-to-use application that will map a certain amount of RAM to a system partition. You choose its size (depending on the amount of RAM in your system), drive letter, and file system. You can copy, move and delete files on it. Like a physical disk, a RAM disk can also be...
Platforms: Windows
License: Shareware | Cost: $24.95 USD | Size: 1.48 MB | Download (203): Gili RAMDisk Download |
Ainishare Ramdisk is a prowerful RAM Disk Maker that can help you to create a RAM Disk which like a physical hard disk to operating system and programs to boost performance and speed up access to data. You can copy, move and delete files on a ramdisk and it can also be shared so as to be accessed...
Platforms: Windows
License: Shareware | Cost: $29.95 USD | Size: 1.38 MB | Download (166): Ainishare Ramdisk Download |
RAMDisk is a kernel-level driver that presents a standard disk drive to the OS, however, it stores and retrieves data from the system RAM on your motherboard instead of an actual, physical disk. Along with the Kernel Driver is a GUI that talks to the driver and allows the user to set various...
Platforms: Windows
License: Freeware | Size: 3 MB | Download (86): RAMDisk Download |
Tor-ramdisk is an i686 uClibc-based micro Linux distribution whose sole purpose is to securely host a Tor server purely in RAM. For those not familiar with Tor, it is a system which allows the user to construct encrypted virtual tunnels which are randomly relayed between Tor servers (nodes) until...
Platforms: *nix
License: Freeware | Size: 4.92 MB | Download (22): Tor-ramdisk Download |
RAMDisk creates a virtual hard drive using your computer&aposs memory. The ramdisk is many times faster than a regular hard disk and will speed up any application that reads/writes a lot of files. RAMDisk will also save and restore'images'of the it&aposs contents, including at shutdown/startup...
License: Shareware | Cost: $25.00 USD | Size: 626 KB | Download (3981): RAMDisk9xME Download |
Bond Disc is a powerful solution to manage, archive and recover files that hold valuable information. We originally looked for a solution to store the results of our work, designs of inventions, technical descriptions and other classified documents, in short priceless information, in a fail-safe...
Platforms: Windows
License: Freeware | Size: 585.5 KB | Download (108): Bond Disc Download |
imlSoft RAMDisk App Optimizer is a high-performance RAM disk application that lets you have a disk on your computer entirely stored in the memory. As the memory is much faster than physical hard disks, it makes sense to store temporary data on a fast in-memory disk to achieve a higher...
Platforms: Windows
License: Shareware | Cost: $34.95 USD | Size: 1.38 MB | Download (144): imlSoft RAMDisk App Optimizer Download |
QILING Disk Master Free is not only a easy-to-use, free backup and recovery software solution, but also a ramdisk and partition manager software. It aiming to protect your data and improve the performance of your computer. With it, your system, files, folders, videos, music will be in a safe...
Platforms: Windows, Windows 7
License: Free | Cost: $0.00 USD | Size: 13.94 MB | Download (73): QILING Disk Master Free Download |
QILING Disk Master Professional is not only a easy-to-use, fast backup and recovery software solution, but also a ramdisk and partition manager software. It aiming to protect your data and improve the performance of your computer. With it, your system, files, folders, videos, music will be in a...
Platforms: Windows, Windows 7
License: Time-limited trial | Cost: $39.00 USD | Size: 15.41 MB | Download (46): QILING Disk Master Professional Download |
QILING Disk Master Server is not only a reliable best backup and recovery software solution, but also a ramdisk and partition manager software. It aiming to protect your data and improve the performance of your computer. With it, your system, files, folders, videos, music will be in a safe...
Platforms: Windows, Windows 7
License: Shareware | Cost: $169.00 USD | Size: 15.41 MB | Download (30): QILING Disk Master Server Download |
RAMDiskXP is a kernel level driver that presents a standard disk drive to the OS, however, it stores and retrieves data from the system RAM on your motherboard instead of an actual, physical disk. Along with the Kernel Driver is a GUI that talks to the driver and allows the user to set various...
Platforms: Windows
License: Shareware | Cost: $69.00 USD | Size: 9.47 MB | Download (6606): RAMDiskXP Download |
Trinux is a ramdisk-based Linux distribution that boots from a single floppy or CD-ROM, loads it packages from an HTTP/FTP server, a FAT/NTFS/ISO filesystem, or additional floppies. Trinux contains the latest versions of popular Open Source network security tools for port scanning, packet...
Platforms: *nix
License: Freeware | Size: 19.8 MB | Download (106): Trinux Download |
Audio player, transcoder and cd ripper for Mac OS X, Windows, Unix, and Linux. Plays and creates ogg, flac, mp3, aac, m4a, mp4, wav, and aif, and plays wma. 31-band equalizer, repeat loop, variable pitch/tempo, ram or ramdisk preload, more.
Platforms: Mac
License: Shareware | Cost: $0.00 USD | Size: 3.6 MB | Download (97): MoreAmp Download |
RAMDisk creates a virtual hard drive using your computer's memory. The ramdisk is many times faster than a regular hard disk and will speed up any application that reads/writes a lot of files. RAMDisk will also save and restore 'images' of the it's contents, including at shutdown/startup so it...
Platforms: Windows
License: Shareware | Cost: $35.00 USD | Size: 677 KB | Download (94): RAMDiskNT Download |
About Esperance DVA module for System Preferences making a RamDisk.The object is there to place the temporary files such as the mask of a navigator, the Builds files & Intermediates xCode s, etc...A RamDisk is the use of a part of read-write memory (RAM) as a hard disk.
Platforms: Mac
License: Freeware | Size: 143.36 KB | Download (35): Esperance DV .0 Download |
iRamDisk uses a block of memory to creates a virtual RAM Volume displayed like real disk by Mac OS X. Data into memory are writed and readed more quickly than the system disk. Move the temporary files into RamDisk may reduce the delay of a process (compilation, image processing,...). iRamDisk has...
Platforms: Mac
License: Shareware | Cost: $0.00 USD | Size: 460.8 KB | Download (23): iRamDisk Download |
Ramdisk Rescue allows Embedded Linux to be installed to a flash card (SD, MMC or CF) using a handheld, without requiring a separate computer to format the card.
Platforms: *nix
License: Freeware | Size: 3.54 MB | Download (31): RamdiskRescue Download |
Digital TAPLOCK is a file encryption and file shredder application that uses Picture PassPhrase security to build advanced passwords using easy to remember pictures and optional keyboard entries. Users can choose from Picture In Picture passphrase elements, category based picture thumbnails or...
Platforms: Windows
License: Shareware | Cost: $59.99 USD | Size: 15.31 MB | Download (145): Digital TAPLOCK Download |
Speed up hard drive operations with a virtual RAM disk! DiskBoost maintains a blazing-fast virtual disk in your computer's RAM, allowing you to make your computer faster by storing frequently accessed files and data in the operative memory. Unlike competitors, DiskBoost supports both...
Platforms: Windows
License: Shareware | Cost: $49.95 USD | Size: 1.58 MB | Download (135): DiskBoost Download |
DerivedData
Both Xcode and AppCode intensively cache temporary “information” on the file system. Each time you cleanup the project, make a new build, or launch the app in iOS Simulator, IDE will read and write megabytes of files into the special folder named DerivedData
. You will be surprized how much space can be freed up by executing rm -rf ~/Library/Developer/Xcode/DerivedData/*
in Terminal. This command is totally safe, because Xcode will regenerate everything it needs from scratch when you build the next project.
As result of this caching, the speed of building and launching the app in debugger may significantly depend on the “speed” of your hard drive. With SSD, a typical iOS-project with precompiled information will launch in 5-10 seconds. With HDD, it will take more time. Anyway, you should know that there is an easy way to build and launch the app in iOS Simulator much faster.
Free Solution
I found this solution in the Krzysztof Zabłocki’s talk about iOS Developer Tools. The last paragraph of the article (it is not mentioned in the video) is about the command line tool named RamDisk:
This script will let you create ramdisk for iOS sim, derived data a few other important folders. This can make your development wayyy faster.
In other words, OS X allows you to create a super-fast file storage directly in RAM and hard-link it into the file system in place of the DerivedData
folder used by Xcode. You can even create multiple “virtual” drives and mount them to Application Support/iPhone Simulator
and to make these caches fast and truly temporary.Application Support/Caches/appCode2.0
There is a great blog post explaining this in more details, and some are worth quotation:
Mounting a volume on top of your existing DerivedData hides the old files. They continue to take up space, but are unreachable until you unmount the RAM disk.
The contents of the RAM disk disappear when you reboot or eject it from the Finder. Xcode will need to rebuild its indexes and all of your project’s intermediate files the next time you create one.
One more thing: such RAM disks are not “allocated” in the memory, they take only as much space as needed to keep all files.
Update → AppCode does not recommend moving the whole Caches/appCode20
folder on a RAM disk, because among everything it stores indices and local history's data. Once the in-memory storage is reset, no local history will be available. However:
DerivedData can be safely moved to a ram disk; though for big projects the full rebuild may cost more than the saved time.
Paid Solution
Unfortunately, the original Gist does not support commands stop
and start
, so you will have to restart OS X in order to remove RAM disks. It is not very convenient to support them between launches and you can forget to reclaim the RAM after you finish the coding session.
Fortunately, “there is an app for that”. iRamDisk will create and manage RAM disks for you. There is a standard setup for Xcode development, and you can easily mount the caches folder used by AppCode too. Here is my setup:
Iramdisk Mac 使い方
Update → iRamDisk menu bar icon stands out of the croud, so I made a replacement. Put these images in /Applications/iRamDisk.app/Contents/Library/LoginItems/iRamDisk-Helper.app/Contents/Resources
and toggle the preference Show in menu bar
to update.
Iramdisk 3.6.12
Does it work?
YES.
I tried this on my MacBook Pro with Retina Display 8 GB and iOS Simulator launch time reduced to the matter of seconds. There is also a conversation in Twitter that you may find interesting.
It seems like the iOS Simulator launch time does not change significantly for AppCode, but I find it fascinating that SSD is not touched during massive cache readings and writings.
Iramdisk
P.S. I assume the same recipe would work with Photoshop or Illustrator.