JetBrains Rider 2025.3 Help

Language Services

JetBrains Rider relies on TypeScript, Vue, Astro, Svelte, and other framework-specific language services to provide autocompletion, code analysis, and error highlighting.

Configure memory handling

Although JetBrains Rider strives at providing slick integration with language services, there may still arise out-of-memory errors induced by a language service rather than by JetBrains Rider itself.

Memory handling modes

When a language service runs out of memory, JetBrains Rider first attempts to restart it. After two sequential attempts fail, the language service stops and JetBrains Rider indicates the error in the Language Services widget on the status bar and displays a popup with an error message.

To prevent out-of-memory errors or have them solved seamlessly, thus ensuring stable operation of language services, you can configure memory handling in the following two modes:

Increase memory automatically

In this mode, JetBrains Rider automatically adds 1000MB when an out-of-memory error is to occur and restarts the language service in the background.

JetBrains Rider continues silently with this approach until the maximum memory limit of 25% RAM is reached, whereupon the language service stops and JetBrains Rider displays a popup with an error message.

For information on possible steps to improve the situation, refer to Troubleshooting.

Set memory limit

In this mode, you manually specify maximum memory a language service can use. Until this limit is reached, JetBrains Rider suggests adding 1000MB on each out-of-memory error.

When the specified limit is reached, the language service stops and JetBrains Rider displays a popup with an error message.

For information on possible steps to improve the situation, refer to Troubleshooting.

Configure memory handling for TypeScript language service

  1. Open settings by pressing Ctrl+Alt+S and navigate to Settings | Languages & Frameworks | Language Services | TypeScript.

  2. In the Language Services Memory area, choose the memory handling mode:

    • Select Automatically increase memory, if available to have memory increased and language services restarted silently.

    • Alternatively, select Set memory limit and specify the maximum memory to use by a language service.

      If the specified memory size exceeds the available RAM, JetBrains Rider suggests an appropriate value in a tooltip.

Troubleshooting

An out-of-memory error occurs when a language service exceeds its allocated memory limit and can no longer handle the workload. This typically happens for the following reasons:

  • The project you are currently working with contains a large number of files and dependencies.

  • The maximum memory limit specified in the IDE settings is not enough for a language service.

Increase memory allocation

  1. Open settings by pressing Ctrl+Alt+S and navigate to Settings | Languages & Frameworks | Language Services | TypeScript.

  2. Select the Set memory limit option.

  3. Increase the limit gradually, for example, from 4GB to 6GB and then to 8GB. Monitor the improvements.

Limit your project scope

Large projects with excessive files or dependencies can overload a language service. To reduce the load in large codebases, follow the recommendations from the performance guide provided by the TypeScript team, especially the sections Using Project References and Configuring tsconfig.json or jsconfig.json.

    Upgrade or downgrade

    • Make sure you are using an up-to-date version of a language service.

      JetBrains Rider is shipped with bundled versions of language services. However, newer versions of language services often include performance improvements. Therefore, it is recommended that you keep language services up to date.

      To install the latest version of a language service, open the embedded Terminal (Alt+F12) and type one of the following depending on the language service and the package manager you are using:

      npm install --save-dev typescript

      or

      pnpm add --save-dev typescript

      or

      yarn add --dev typescript
      npm install --save-dev @vue/language-server

      or

      pnpm add --save-dev @vue/language-server

      or

      yarn add --dev @vue/language-server
      npm install --save-dev svelte-language-server typescript-svelte-plugin

      or

      pnpm add --save-dev svelte-language-server typescript-svelte-plugin

      or

      yarn add --dev svelte-language-server typescript-svelte-plugin
      npm install --save-dev @astrojs/language-server

      or

      pnpm add --save-dev @astrojs/language-server

      or

      yarn add --dev @astrojs/language-server
    • If an issue appeared after a language service update, consider downgrading to the previous version to confirm whether the problem was introduced by the update.

    Submit an issue in the JetBrains Rider issue tracker

    If the problem persists, submit an issue in the JetBrains Rider issue tracker and attach your project to it. This will help us reproduce and investigate the issue more efficiently.

      04 November 2025