October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk5 min

How to Troubleshoot Slow Startup, Lag, or High Memory Use in a Code Editors

Slow startup, typing lag, high CPU, and memory use need different checks. Isolate extensions, inspect processes, and profile the specific slowdown in VS Code or a JetBrains IDE.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Slow startup, lag while typing or scrolling, high CPU use, and high memory use are different symptoms—not one diagnosis. Note when the problem occurs and what action or project reproduces it, then isolate extensions, workspace conditions, and the process or task consuming resources. The steps below are specific to Visual Studio Code and JetBrains IDEs; menus and plugin requirements can vary by version.

Start with a repeatable baseline

Before changing settings or hardware, record the editor and version, operating system, project size and location, when the issue began, and any recent extension, plugin, settings, or project changes. Separate a slow launch from delayed typing, slow scrolling, high CPU, or heavy memory use. Close unrelated editor windows for a startup comparison, and repeat the same action under the same conditions so you can tell whether a change helped.

As an Amazon Associate I earn from qualifying purchases.

If possible, compare the affected project with a smaller folder, a single file, or an empty window. A slowdown that occurs only in one workspace may point toward its contents, indexing, or project-specific configuration rather than the editor as a whole.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Visual Studio Code: isolate extensions and inspect processes

Check whether an extension is involved

  1. In VS Code, open Help > Open Process Explorer, or run code --status while VS Code is already running. Inspect the process list for the extension host. High CPU use there is a reason to investigate extensions, not proof that a particular extension is responsible.
  2. Try code --disable-extensions, or disable extensions from the Extensions view, then repeat the action that was slow. This command starts VS Code with extensions disabled.
  3. If the problem goes away, run F1 > Help: Start Extension Bisect to narrow down the extension, or disable groups selectively. Use F1 > Developer: Show Running Extensions to inspect running extensions; you can record a CPU profile while reproducing the slowdown.

The VS Code Performance Issues guide says, “High CPU consumption is often caused by an issue in an extension.” That observation concerns CPU consumption in VS Code; it does not establish that extensions explain every case of lag or high memory use. Read the VS Code Performance Issues guide.

#1 Best Overall
A-Tech DDR4 RAM 32GB Kit (2x16GB) 2666MHz PC4-21300 SODIMM Laptop Memory
  • A-Tech 32GB RAM Kit (2 x 16GB Modules), DDR4 SO-DIMM 260-Pin, 2666MHz / 2667MHz PC4-21300 (PC4-2666V)
  • Non-ECC Unbuffered, JEDEC DDR4 Standard 1.2V Operating Voltage
  • Compatible with select DDR4 SODIMM capable Laptop, Notebook, Mini PC, and All-in-One (AIO) computer systems. Please verify your system's memory type, form factor, and maximum supported capacity before purchasing
  • Not compatible with desktop (DIMM), DDR2, DDR3, DDR5, ECC Registered (RDIMM), ECC Load Reduced (LRDIMM), or ECC Unbuffered (ECC UDIMM) memory types
  • Increases available memory capacity to enhance system responsiveness, application performance, and multitasking capabilities.

Profile lag in the editor window

  1. Open Help > Toggle Developer Tools, select the Performance tab, and start recording.
  2. For roughly 30–60 seconds, reproduce the specific lag—for example, type, scroll, or repeat the action that feels delayed.
  3. Stop the recording and save the profile. The capture duration is a troubleshooting procedure suggested by the VS Code guide, not a benchmark or expected fix time.

If the slowdown might depend on workspace size or content, compare the same action in a smaller folder, a single file, or an empty window. The VS Code guide also describes using Process Explorer and code --status to see which process is busy.

Investigate a slow VS Code launch

  1. Close all but one VS Code window, quit VS Code, then launch code --prof-startup.
  2. Find the two profile files this command creates in your home directory. Preserve them along with the launch details if you need to report the problem.
  3. To see startup timing details inside VS Code, run F1 > Startup Performance.

For a performance report, use Help > Report Issue and choose Performance Issue. Include repeatable steps and relevant process output or profiles. code --status only works when VS Code is already running.

Rank #2
Crucial 16GB DDR4 RAM Kit (2x8GB), 3200MHz (PC4-25600) CL22 Desktop Memory, UDIMM 288-Pin, Downclockable to 2933/2666MHz, Compatible with Intel and AMD Ryzen - CT2K8G4DFRA32A
  • Boosts System Performance: 16GB DDR4 Pro Series desktop memory RAM kit (2x8GB) that operates at 3200MHz, 3000MHz, or 2666MHz to improve multitasking and system responsiveness for smoother performance
  • Easy Installation: Upgrade your desktop RAM with ease—no computer skills required Follow step-by-step how-to guides available at Crucial for a smooth, worry-free installation
  • Compatibility Guaranteed: Ensure seamless compatibility with your desktop by using the Crucial System Scanner or Crucial Upgrade Selector—get accurate recommendations for your specific device
  • Trusted Micron Quality: Backed by 42 years of memory expertise, this DDR4 RAM is rigorously tested at both component and module levels, ensuring top performance and reliability
  • ECC Type = Non-ECC, Form Factor = UDIMM, Pin Count = 288-pin, PC Speed = PC4-25600, Voltage = 1.2V, Rank and Configuration = 1Rx16, 1Rx8 or 2Rx8

JetBrains IDEs: check indexing, storage, and security scanning

If an IntelliJ-based IDE is slow to respond, check whether antivirus or firewall software is scanning the IDE or project files, whether the IDE or project is on a slow or network drive, and whether the project indexes unnecessary folders. JetBrains recommends fast local storage, avoiding network drives for project files, and excluding unnecessary folders from indexing. Do not disable security software as a general fix; use supported exclusions and follow your organization’s security policy. See JetBrains’ guide to IDEs that are slow to respond.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

JetBrains IDEs: capture a profile for reproducible problems

High CPU or interaction lag

When the slow action can be reproduced, open Help | Diagnostic Tools | Start CPU Usage Profiling, repeat the problematic actions several times, then stop profiling to save a snapshot. The snapshot helps identify where CPU time is spent; it is diagnostic evidence, not by itself proof of a cause. Follow the current instructions for your IDE version. JetBrains notes that IntelliJ IDEA, Android Studio, and PyCharm Community Editions 2025.x do not bundle the Async Profiler for IDE Performance Testing plugin; install it when that workflow requires it. Consult JetBrains’ performance-reporting instructions for the applicable version and workflow.

Rank #3
Timetec 16GB KIT(2x8GB) DDR3 / DDR3L 1333MHz PC3-10600 Non-ECC Unbuffered 1.5V / 1.35V CL9 2Rx8 Dual Rank 204 Pin SODIMM Laptop Notebook PC Computer Memory RAM Module Upgrade(16GB KIT(2x8GB))
  • DDR3 / DDR3L 1333MHz PC3-10600 204-Pin Non-ECC Unbuffered 1.5V / 1.35V CL9 Dual Rank 2Rx8 based 512x8
  • Module Size: 16GB KIT(2x8GB Modules) Package: 2x8GB ; JEDEC standard 1.35V, this is a dual voltage piece and can operate at 1.35V or 1.5V
  • Module Size: 16GB Package: 2x8GB For Laptop/Notebook, Not for Desktop
  • Compatible for Selected Alienware , AOpen , ASRock , ASUS/ASmobile , BCM , Clevo , Dell , DFI , EliteGroup (ECS) , Fujitsu , Gigabyte , HP/Compaq , Intel , Lenovo , MiTAC , MSI , NEC , Panasonic , Samsung , Shuttle , Supermicro , Toshiba , ZOTAC motherboard systems
  • Guaranteed – Lifetime warranty from Purchase Date Free technical support

Slow startup or indexing

For startup, the reporting guide describes Help | Diagnostic Tools | Profile Slow Startup. For slow indexing, it describes Profile Indexing. Before using Invalidate and Restart, understand that it destroys Local History and indices; check the instructions for your IDE version and consider the consequences for your project before proceeding.

High memory use

If heavy memory use and frequent garbage collection continue after you have investigated the workload, and increasing heap size has not helped, JetBrains advises capturing a memory snapshot for diagnosis. The guide also documents -XX:+HeapDumpOnOutOfMemoryError for automatically creating a dump when an out-of-memory error occurs. Memory snapshots and heap dumps may contain sensitive source code; store them securely and review them before sharing. Do not change heap settings or buy more RAM until you know which memory measure is limiting performance.

Rank #4
Timetec 32GB KIT (2x16GB) DDR4 2666MHz (PC4-2666V) PC4-21300 SODIMM Laptop RAM – 260-Pin 1.2V CL19 Non-ECC Unbuffered Memory Module for Laptop, Notebook, Mini PC, All-in-One
  • Capacity – 32GB RAM KIT (2 x 16GB Modules) Speed up to 2666MHz Non-ECC Unbuffered 260-Pin 1.2V SODIMM.
  • Specs – PCB Color (Green or Black) and Rank (1Rx8 or 2Rx8) may vary depending on production batch. Performance and quality remain consistent across all Timetec products.
  • Compatibility – Designed for selected DDR4 Laptop, Notebook, Mini PCs, and All-In-One systems(AIO) that support 260-Pin SODIMM memory. NOT compatible with Desktop DIMM slots.
  • Installation – Plug-and-Play Upgrade, Quick and Easy to Install, no expertise required (please refer to your system's manual for guidelines).
  • Warranty – All Timetec products are high-quality and rigorously tested to meet stringent standards. Backed by Timetec Limited Lifetime Warranty and professional technical support based in the United States.

JetBrains groups troubleshooting for lag, CPU, memory, and indexing in its guide to IDE slowness and resource use.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Use the diagnosis to choose the next step

What you observe Useful check What the result can tell you
VS Code slows down, and the extension host is busy Disable extensions, then use Extension Bisect or selectively disable them Whether extension activity is associated with the symptom
The whole VS Code window lags Record a Developer Tools Performance profile while reproducing the lag What is happening in the window during the slowdown
VS Code launches slowly Use Startup Performance or code --prof-startup Startup timing details and profile files
A JetBrains IDE is slow to respond or indexes slowly Check indexing scope, storage location, and security scanning; capture a relevant profile if needed Whether the slowdown corresponds to indexing, environment, or profiled work
JetBrains memory use remains heavy Capture a memory snapshot when the documented conditions apply Evidence to investigate memory use; not a standalone diagnosis

Address what the process list or profile actually identifies: an extension, rendering work, indexing, project conditions, or storage. Moving an IDE or project from a slow or network drive to fast local storage is a conditional option when storage is the relevant issue. An SSD is not a general remedy for a CPU-bound profile, an extension problem, or system-wide memory pressure. The cited guidance does not establish a universal RAM threshold or a quantified speed gain from these steps.

Best Value
Timetec 16GB KIT(2x8GB) DDR3L/DDR3 1600MHz(DDR3L-1600) PC3L-12800 Non-ECC Unbuffered 1.35V/1.5V CL11 2Rx8 Dual Rank 204 Pin SODIMM Laptop Notebook RAM
  • [Specs] DDR3L / DDR3 1600MHz PC3L-12800 / PC3-12800 204-Pin Unbuffered Non ECC 1.35V CL11 Dual Rank 2Rx8 based 512x8
  • [Size] Module Size: 16GB KIT(2x8GB Modules) Package: 2x8GB
  • [Voltage] JEDEC standard 1.35V, this is a dual voltage piece and can operate at 1.35V or 1.5V
  • [Compatibility] Compatible with DDR3 Laptop / Notebook PC, Mini PC, All in one Device
  • [Color] PCB Color is green

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.