0

It is just a curious question. Why Android Studio, Intellij use Server mode instead Client as default. Should I switch to client mode to improve AS's startup time? Android Studio

Real differences between "java -server" and "java -client"?

Community
  • 1
  • 1
user2477
  • 896
  • 2
  • 10
  • 23

1 Answers1

0

The server JVM performs much deeper optimizations for the code. If you start and quit Android Studio hundreds of times each day, then switching to the client JVM may actually give you better performance. Most people don't do that, and are more concerned about better performance of the IDE in the long run than about startup time. Therefore, the server VM is used by default.

yole
  • 92,896
  • 20
  • 260
  • 197