Giter Club home page Giter Club logo

Comments (2)

themkat avatar themkat commented on August 30, 2024 1

@fwcd this is language server issue, not a vscode plugin issue, could we transfer it? Possibly also a duplicate of fwcd/kotlin-language-server#441 .

You can change the java heap space with environment variables. The most common way is to use the java option -Xmx8g (which would make it 8GB). This can be done by setting JAVA_OPTS or similar environment variables variables. See our discussion in the language server repo for more details: fwcd/kotlin-language-server#441

Some things to think about:

  • How much RAM do you have? More than 8GB? The language server is quite memory intensive, and we have an open issue about it: fwcd/kotlin-language-server#352 . I have never experienced any issues on my MacBook Pro (Intel) 16GB or my Macbook Air (M1) 16GB machines with bigger repos, and I have worked in quite bit multi module projects.
  • Which JDK are you using? Coretto? Temurin? There might be minor differences between them, like defaults for various settings. I use Temurin/Adoptium myself, and have never had any issues with that.
  • Do you have many other applications open that consumes RAM?

from vscode-kotlin.

canda avatar canda commented on August 30, 2024

Is there any way to assign more heap space to the java runtime?

from vscode-kotlin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.