diskutil erasevolume hfsx 'RAM Disk' `hdiutil attach -nomount ram://2097152`
Reference: http://www.tekrevue.com/tip/how-to-create-a-4gbs-ram-disk-in-mac-os-x/
| package ca.rmen.poemsfah; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileWriter; | |
| import java.io.InputStream; | |
| import java.text.Normalizer; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.HashMap; |
diskutil erasevolume hfsx 'RAM Disk' `hdiutil attach -nomount ram://2097152`
Reference: http://www.tekrevue.com/tip/how-to-create-a-4gbs-ram-disk-in-mac-os-x/
| If you get this error in a loop: *Unfortunately, the process android.process.acore has stopped* | |
| The following commands will make it go away. | |
| (Not sure if all of them are necessary). | |
| adb -d shell pm clear com.android.calendar | |
| adb -d shell pm clear com.google.android.gm | |
| adb -d shell pm clear data com.android.contacts | |
| adb -d shell pm clear android.process.acore |