6
7

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 のヒープメモリを増やす

Posted at

IntelliJを使っているがたまに重くなるのでヒープメモリを増やしてみたときのメモ。

macOS で試してるが

  1. Help > Edit Custom VM Options...
  2. ダイアログが出てきたらYes

    (macOSの場合)

    20170127-120720.png

3. IntelliJのエディタで編集できる

 # custom IntelliJ IDEA VM options
 -Xms128m
 -Xmx750m
 -XX:ReservedCodeCacheSize=240m
 -XX:+UseCompressedOops
この **-Xmx750m** が最大で使用可能なメモリ

macOS版は .vmoptions ファイルは直接編集するのは駄目、らしい。

参考
Configuring JVM options and platform properties

6
7
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
6
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?