15
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

IntelliJ Ideaを快適に使うためのおすすめJVMオプション

Last updated at Posted at 2018-02-06

IntelliJ IdeaがGCが走ると画面が固まってカクつくので、GCのアルゴリズムをG1GCに変えてみたところ快適でした。

設定変更

IntelliJ IdeaのJVMオプションを開く

貼り付けた画像_2018_02_06_19_58.png

JVMオプションのファイルが開かれるので編集する

こんな感じにしました。メモリサイズはお好みで。

# custom IntelliJ IDEA VM options

-server
-Xms128m
-Xmx2400m
-XX:+UseG1GC
-XX:MaxGCPauseMillis=300
-XX:ReservedCodeCacheSize=280m
-XX:+UseCompressedOops

IntelliJ Ideaを再起動する

終了してから起動するだけです。

15
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?