mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[bazel] Increase file watch service queue maximum size to prevent overflow when watching local filesystem for changes on Windows in common.bazelrc (IJI-3103)
https://github.com/openjdk/jdk/blob/6705a9255d28f351950e7fbca9d05e73942a4e27/src/java.base/share/classes/sun/nio/fs/AbstractWatchKey.java#L39 (cherry picked from commit 8597d4b0a2db4bc7d98b3e9cb84afc5e7ce38b15) GitOrigin-RevId: 9962699417b35927923af58d3949b989ae7b20c3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7eb1304fbe
commit
25ac4bde20
@@ -16,6 +16,10 @@ startup --host_jvm_args=-Xmx12g
|
||||
# https://github.com/openjdk/jdk/blob/6705a9255d28f351950e7fbca9d05e73942a4e27/src/java.base/windows/classes/sun/nio/fs/WindowsWatchService.java#L630
|
||||
startup --host_jvm_args=-XX:+UseZGC
|
||||
|
||||
# Increase file watch service queue maximum size to prevent overflow when watching local filesystem for changes on Windows
|
||||
# https://github.com/openjdk/jdk/blob/6705a9255d28f351950e7fbca9d05e73942a4e27/src/java.base/share/classes/sun/nio/fs/AbstractWatchKey.java#L39
|
||||
startup --host_jvm_args=-Djdk.nio.file.WatchService.maxEventsPerPoll=1000000 # 1M
|
||||
|
||||
# Disk cache
|
||||
common --experimental_disk_cache_gc_max_size=32G --experimental_disk_cache_gc_max_age=28d
|
||||
common:macos --disk_cache=~/Library/Caches/JetBrains/monorepo-bazel-cache
|
||||
|
||||
Reference in New Issue
Block a user