I am using android studio 1.0 RC for 64 bit linux.
android studio 1.0 RC
When I run my application I am getting
"java.lang.OutOfMemoryError: GC overhead limit exceeded"
When I searched on how to solve this error I got solutions like add:
These did not work for me.
Please help. Thanks in advance
I solved this issue by adding
dexOptions { incremental true javaMaxHeapSize "4g" }
to the android closure in build.gradle file. Found this answer in
OutOfMemoryError: GC overhead limit exceeded
1.4m articles
1.4m replys
5 comments
57.0k users