Hacker News new | ask | show | jobs
by _RPM 3562 days ago
You need a pretty powerful machine to run Android Studio. It lags when I run it on my laptop with an i5 and 6 GB ram. I wonder if upgrading to a SSD will increase performance.
5 comments

I spend about 80% of my day in Android Studio and It's definitely resource hungry. On my brand new MBP 13" with 16GB RAM and an i7 processor it can still make the whole thing stutter when compiling a medium to large project.

At work my desktop can handle it, but that thing has pretty unrealistic specs.

It is not the IDE per se (300 MB RSS or so), but Java allocating some 2 GB heap per process, which also includes gradle daemon and compilers.

This can easily eat a bunch of ram, making the OS swap. Seems OS X has extra bad policy of swapping.

I gave Android Studio 8GB of heap space to play with, and it still manages to run out. WTF.
I work on a very large project, I need to give 4 go to Android Studio and 6 go to gradle. When I do this, I get a very fluid experience.

That's an extreme case though, most projects can be worked on with reasonable machines. An SSD really helps though

Yes, a good SSD will improve your performance compared to a spinning disk.
It runs perfectly well on a current MacBook (12"). Which is the least performant Mac(Book) AFAIK.
It wants about 2.5GB of RAM for itself, so you might be running out of RAM.