Android Studio causes Windows 8.1 to crash
android, android-studio, windows
Solution
It turns out it's a Windows 8 issue with the available virtual memory. It seems like a few new processes (like Superfetch) eat up a ton of processing power to constantly scan your drive for changes, so searching is faster.
The solution is to change the min and max virtual memory values. Here's how to do that:
http://windows.microsoft.com/en-us/windows/change-virtual-memory-size#1TC=windows-7
I have 7GB of memory so I set the min to 2000MB and max to 5000MB. Haven't had a crash all day!
Problem
Ever since I updated my PC to Windows 8.1, when I start Android Studio and run a simple app I'm testing with, I get a :( with a "critical_structure_error" that forces my core i7 to restart! I cleaned out all temp files using CCleaner after I noticed my disk was 100% in the task manager, but that didn't seem to fix much (even though I cleaned 16G out!). When I open Android Studio again, I get a bunch of errors like this: Cannot load settings from file 'C:\Users\Me\.AndroidStudioPreview\config\options\feature.usage.statistics.xml': java.lang.AssertionError: Unexpected content storage modification File content will be recreated If I leave AS open, it just keeps popping up the same type of content storage error until I close and reopen AS. Once I reopen, I can see the project and it builds fine. Seems like at this point, if I open the emulator, that's when I get the blue screen with :( I'd really like to keep Windows 8.1 and the current 0.5.9 version of AS without having to revert back to Win 8 or another AS version. More importantly, I don't want my PC to crash every time I use Android Studio!?! Any ideas what's going on here?