Last active
April 8, 2024 20:40
-
-
Save viniciusjssouza/52ad31a348895344114072aaffb88163 to your computer and use it in GitHub Desktop.
u Goland config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######## BEGIN IDE OPTIONS ######## | |
| # Add additional options outside this section as they will be overwritten on every IDE startup # | |
| # Select the Java Server VM. | |
| -server | |
| # Set default just-in-time compiled code cache size. | |
| -XX:ReservedCodeCacheSize=768m | |
| # Mark softly-reachable objects' lifespan per megabyte of maximum memory heap size. | |
| #Integer unit is in milliseconds. | |
| -XX:SoftRefLRUPolicyMSPerMB=50 | |
| # Always throw full stack trace when an exception is reached. | |
| -XX:-OmitStackTraceInFastThrow | |
| # Enable assertions in all packages and classes. | |
| -ea | |
| # Mitigate network connectivity issues by forcing choice of IPv4. | |
| -Djava.net.preferIPv4Stack=true | |
| -Dsun.io.useCanonCaches=false | |
| # Disable tracking | |
| -Djb.consents.confirmation.enabled=false | |
| # Better diagnostics - make thread dumps on freezes frequently (every 1s) | |
| -Dperformance.watcher.unresponsive.max.attempts.before.log=1 | |
| -XX:+HeapDumpOnOutOfMemoryError | |
| -XX:+IgnoreUnrecognizedVMOptions | |
| -Djbr.catch.SIGABRT=true | |
| -Dkotlinx.coroutines.debug=off | |
| -Dawt.lock.fair=true | |
| ###### Garbage Collection (GC) ###### | |
| -XX:+UseG1GC | |
| ###### IDE Performance ###### | |
| # Initial heap size to 4G to reduce allocated memory fragmentation and improve startup times. | |
| -Xms4g | |
| # Maximum heap size to 10G to improve performance | |
| -Xmx16g | |
| # Use 10 threads for indexing, as for now there is no benefit from setting it higher even with more cores. | |
| -Dcaches.indexerThreadsCount=10 | |
| # Max size for index diagnostics in MB per project, increasing the size to make sure we can collect at least one diagnostic | |
| -Dintellij.indexes.diagnostics.size.limit.of.files.MiB.per.project=64 | |
| # Prevent auto-updating Intellij IDE | |
| -Dide.no.platform.update=false | |
| # Increase max filesize for the intellisense, default value is 2500 | |
| -Didea.max.intellisense.filesize=3000 | |
| # UI freeze exceeding this value will send a thread dump, default value is 5000 | |
| -Dperformance.watcher.unresponsive.interval.ms=2000 | |
| ###### Dynamic Plugins ###### | |
| # Allows for automatically re-loading new plugin updates | |
| -Dide.plugins.load.automatically=true | |
| # Increasing timeout (milliseconds) before requesting user to restart IDE on updates/unloads | |
| -Dide.plugins.unload.timeout=10000 | |
| ###### Remote ###### | |
| # Prevents disconnect on opening projects - https://youtrack.jetbrains.com/issue/PRJ-678 | |
| -Djdk.attach.allowAttachSelf=true | |
| -Djdk.http.auth.tunneling.disabledSchemes="" | |
| -Djdk.module.illegalAccess.silent=true | |
| -Dsun.tools.attach.tmp.only=true | |
| -DcodeWithMe.voiceChat.enabled=false | |
| ###### Projector ###### | |
| -Dorg.jetbrains.projector.server.port=9999 | |
| -DORG_JETBRAINS_PROJECTOR_SERVER_AUTO_KEYMAP=false | |
| ###### General ###### | |
| # Do not show tips on startup for better UX | |
| -Dide.show.tips.on.startup.default.value=false | |
| # For some reason this was limited to 30 by default. IDE will cap running threads according to this number. | |
| # JetBrains has not provided any explanation on why and how it's calculated. | |
| -Dreasonable.application.thread.pool.size=200 | |
| # Do not show exit dialog with option to stop backend | |
| -Dgtw.disable.exit.dialog=true | |
| ###### OT ###### | |
| # https://youtrack.jetbrains.com/articles/CWM-A-173#how-to-report-the-connection-issues | |
| -Drdct.connection.metrics.enabled=true | |
| -Dlux.metrics.enabled=true | |
| ######## END IDE OPTIONS (Add your own below) ######## | |
| # Disable go modules | |
| -DGO111MODULE=off | |
| # Support large generated thrift files in the Bazel plugin | |
| -Didea.max.intellisense.filesize=60000 | |
| -Didea.max.content.load.filesize=60000 | |
| -Duser.name=vjsouza | |
| -DLOGNAME=vjsouza |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment