VS Code Running Slow?? Fix Lag & Boost RAM & Memory Performance of VSCode in 5 Minutes ⚡
Mar 2, 2026
Get the full source code of application here:
Show More Show Less View Video Transcript
0:00
Uh hello guys, in this video I'll show
0:01
you some steps that you can take if your
0:05
VS code is really slow and laggy. It the
0:08
you can increase and boost the
0:09
performance of VS Code by watching this
0:11
video. So first of all, you need to look
0:14
at your extensions. Simply go to this
0:16
tab right here, extensions, and look at
0:19
the amount of extensions that you have
0:21
installed inside your VS Code. And there
0:24
is a command that you can actually
0:26
execute to disable all the extensions in
0:29
one go to actually troubleshoot what
0:32
extensions are creating the problem.
0:35
Or you can individually check all the
0:37
extensions which are installed, disable
0:39
them one by one to actually see which
0:41
extensions are creating the problem. And
0:44
uh there is a command here which you can
0:47
execute to actually launch VS code
0:51
without any extensions. So simply write
0:54
code dash
0:57
disable extensions.
1:00
So this will actually yeah so disable
1:04
extensions.
1:08
So once you click enter the VS code will
1:12
open without any extensions loaded. So
1:14
this is the first step by which you can
1:16
increase the performance. The second
1:19
thing is that you can ex exclude uh
1:22
heavy folders from opening. So go to
1:25
settings and inside
1:29
the settings options you will actually
1:31
see
1:33
if you simply search here search.
1:38
So right in the search bar simply
1:41
enter the search and there you will see
1:44
this widget out there exclude. So you
1:48
need to exclude all these folders which
1:51
is git build dist. So simply click on
1:55
add pattern and add all these folders.
1:57
Dogget, build, dist. So by default these
2:01
three will automatically be added. So
2:03
just add these three as well. So
2:05
whenever you are working with any
2:07
project so these folders are not
2:09
required for searching. So just include
2:11
these inside this list.
2:14
The next step you can actually take is
2:16
there is a feature in VS code which
2:19
consumes a lot of RAM. So this feature
2:22
is called as mini map. So simply search
2:25
inside the search bar mini map. So just
2:29
disable this feature.
2:32
It consumes a lot of uh memory. So by
2:35
default it will be checked. So just
2:37
untick this option. So mini map is
2:41
actually this on the right hand side
2:43
that you see right here. So this feature
2:45
is not useful at all. So you can
2:47
actually disable this feature by untick
2:50
this option and then you can even
2:53
disable one more feature which comes
2:55
this autosave feature. So this actually
2:58
auto automatically saves as soon as you
3:01
type the code. This also consumes a lot
3:03
of RAM and memory as well. So you can
3:06
disable this feature as well. Just
3:08
untick this option. So this will not be
3:12
enabled. So personally I tried these
3:15
solutions. This significantly uh
3:17
increases the performance of VS Code.
3:20
And lastly, you can check up your
3:22
startup performance by simply going to
3:26
command pallet. And there is this
3:30
this thing that you can write here which
3:32
is by going to command pallet. Just
3:35
write here developer
3:40
startup performance. So this feature
3:43
will be there. So just enter this. This
3:45
will actually just list out all the
3:49
memory requirements of your computer
3:51
system or laptop. So it will
3:53
automatically create this file for you.
3:56
So thereby you can actually check how
3:58
much memory is consuming by each
4:00
extension.
4:02
This is the overall memory it will show
4:04
you of your entire system. uh inside
4:06
when you scroll down so it will actually
4:09
tell you which memory which extension is
4:13
consuming how much reven uh RAM and
4:15
memory. So thereby you can actually see
4:18
which extension is consuming a lot of
4:20
memory. So I personally use this a lot
4:23
to actually disable or uninstall those
4:25
extensions which consume a lot of
4:28
memory. So for each extension it tells
4:30
you exactly how much memory it consumes.
4:33
So you hereby you can check your
4:36
performance of your VS code using this
4:38
file and this command I already told you
4:42
this
4:44
to disable all the extensions in one go.
4:46
Simply open command line and just type
4:49
this and then press enter and now it
4:52
will open VS code. All the extensions
4:54
will be disabled for temporary basis of
4:57
time. So this extabling
5:01
all the extensions in one go
5:04
and most importantly you need to update
5:06
VS code to the latest version. So most
5:09
of the time you haven't updated VS code.
5:12
So just go to the menu section go to
5:14
help and simply check this check for
5:16
updates. So if any new update is there,
5:20
you need to download that update to
5:22
actually
5:25
increase the performance of VS code. So
5:28
it consumes less RAM and memory. So if
5:32
there is a new version, go to help and
5:35
basically as you can see it will install
5:37
the update for you.
5:40
So you need to have the latest version
5:42
of VS code to actually boost and the
5:46
performance of your VS code. So these
5:48
are all the steps that you can take. So
5:51
if you if the problem is solved, you
5:54
should definitely like and also comment
5:56
on this video. These are so some of the
5:59
steps you can take
6:02
to increase the performance of VS Code.
