Assigned
Status Update
Comments
rm...@google.com <rm...@google.com> #2
We use build flavours heavily with a lot of common code. The refactoring support in AS is really good but it continually catches us out when it doesn't work across all flavours in a project. It's a big gap for serious product development.
lo...@gmail.com <lo...@gmail.com> #3
We at my company need this same feature. We have a lot of white labels and need refactor the same class across flavours. :(
lo...@gmail.com <lo...@gmail.com> #4
I need this feature too...
Description
Build #AI-183.5429.30.35.5290690, built on February 7, 2019
JRE: 1.8.0_152-release-1248-b22 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.3
Over 4GB of RAM for on of the "java" processes, and nearly 8GB of RAM for Android Studio itself (last time I caught it consuming so much, it was over 8GB of RAM on an 8GB of RAM machine).
In my studio.vmoptions, there's this: "-Xmx2g"
And in my ~/.gradle/gradle.properties file, there's this line: org.gradle.jvmargs=-Xmx2048M
If I do the math, that should equate to roughly 4GB of RAM, not 3/4 of a 16GB budget.
See a screenshot of the Activity Monitor on my machine.
FYI, I checked the Activity Monitor because the IDE was freezing for over 15 seconds while opening a project (then it started to respond again).