Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

jetbrains-vmoptions

БесплатноБез исполняемых скриптовНе проверен

Diagnose and tune JetBrains IDE VM options against the IDE's actual boot runtime, including bundled or custom JetBrains Runtime (JBR) 17, 21, and 25. Use…

buYoungот buYoung★ 21 звезда на GitHub

Об этом скилле

JetBrains IDE VM Options

Analyze the running IDE first, then propose the smallest defensible .vmoptions delta. Do not create or edit the user's files. Treat a flag being accepted by a JVM as compatibility evidence, not as proof of a performance improvement.

Workflow

1. Establish the runtime and baseline

Read prerequisite-check.md. Identify the IDE product/build, actual boot runtime vendor/version/build/path, bundled-versus-custom status, OS, architecture, current effective command line and flags, current custom options, and the process showing the problem.

The IDE build number is context only. It does not prove which runtime is active. The project SDK/JDK is not the IDE boot runtime.

If the exact runtime is unavailable, give collection instructions and limit the answer to diagnostics or runtime-independent changes. Do not infer an unconfirmed JBR major from an IDE version.

2. Confirm the process boundary

Determine whether the symptom belongs to the local IDE process, a remote IDE backend, Gradle daemon, build process, test JVM, language server, terminal process, or another child process. IDE .vmoptions affect only the IDE process to which the file is applied.

Redirect out-of-scope process tuning to that process's own configuration. Never claim that an IDE heap or GC change fixes a Gradle or test JVM problem.

3. Diagnose before selecting an option

Classify the observed evidence rather than mapping a symptom directly to GC:

Evidence First investigation Relevant reference
IDE freeze or UI stall Thread dump or IDE CPU profile; correlate with GC/safepoint data common-options.md
High CPU or slow editing Repeatable IDE CPU profile performance-validation.md
OOM, low-memory warning, or heap saturation Heap trend, post-GC occupancy, allocation rate memory-options.md
Long or frequent GC pauses GC log or JFR recorded on the IDE process gc-options.md
Slow startup or indexing Separate startup/indexing profile under controlled cache conditions performance-validation.md

If evidence is missing, explain how to collect it. A freeze alone is not evidence that the collector is the cause.

4. Ground every version-sensitive claim

For each proposed option, record the exact runtime family and build it applies to and distinguish:

  • source declaration: a value or availability declared by a specific JBR/OpenJDK source revision;
  • runtime-selected value: the ergonomic or initialized value reported by the user's running JVM;
  • IDE bundle value: an option supplied by the product's shipped or custom .vmoptions file or by its launcher configuration (for example, product-info.json in a macOS installation).

Prefer the running IDE's jcmd VM.command_line and VM.flags -all output for effective values. Link source claims to the matching JBR version, revision, and file. Do not present a source initializer as the final value when runtime ergonomics can change it.

5. Propose a minimal delta

Read only the references relevant to the diagnosed cause:

File Use for
gc-options.md Collector compatibility, selection conflicts, measured GC latency
memory-options.md Heap, code cache, metaspace, references, native-memory trade-offs
common-options.md Compiler, strings, threads, diagnostics, process boundaries
performance-validation.md Application checks and controlled A/B comparison

Default to an add/change/remove list against the confirmed current settings. Preserve unrelated IDE-supplied options and user properties. Remove duplicates by semantic key (for example, multiple -Xmx forms or collector selectors), and explain which effective value wins or conflicts.

Recommend one change purpose at a time. Do not use fixed large heaps, -Xms = -Xmx, lower compilation tiers, or forced compiler/GC thread counts as generic optimizations. State the observed condition that justifies them and their costs.

Keep -XX:-UseBASE64Intrinsics through cleanup, duplicate removal, A/B comparison, and rollback until JetBrains' Java4Shell (CVE-2026-114938) advisory states that the confirmed IDE build bundles a JBR with the upstream fix. Per the advisory published 2026-11-24, updated IDEs add it to their default options and users without the update add it manually; a manual line that repeats the default is redundant but harmless. Never suggest -XX:UseAVX=2: JetBrains warns that it prevents JBR 25 from starting on ARM64. See security mitigation options.

6. Include application, verification, and rollback

Tell

Полный SKILL.md на GitHub

Установить jetbrains-vmoptions в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/common-options.mdreferences/gc-options.mdreferences/memory-options.mdreferences/performance-validation.mdreferences/prerequisite-check.md

FAQ

Что делает скилл jetbrains-vmoptions?

Diagnose and tune JetBrains IDE VM options against the IDE's actual boot runtime, including bundled or custom JetBrains Runtime (JBR) 17, 21, and 25. Use whenever a user asks about JetBrains IDE performance, freezes, startup or indexing speed, memory pressure, garbage collection, heap sizing, `.vmoptions`, or IntelliJ IDEA, WebStorm, PyCharm, GoLand, Rider, CLion, PhpStorm, RubyMine, RustRover, or DataGrip JVM tuning. Distinguish the IDE process from project JDK, Gradle, build, test, and remote-backend processes; propose evidence-based minimal changes, confirm effective flags after restart, and provide rollback and before/after measurement steps.

Как установить скилл jetbrains-vmoptions?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл jetbrains-vmoptions запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить jetbrains-vmoptions с