Apex extension has issue with cpu & memory consumption #4440
gbockus-sf
started this conversation in
General
Replies: 5 comments
-
@peternhale Can we call this problem solved? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This discussion is meant to track the ongoing issue of resource usage by the apex extension.
Root of the problem
The Language server used by the Apex extension is utilizing a package provided by the Apex team written in java that has the following resource usage on my MacOS laptop:
Memory : 530 MB
This is problematic on systems that are memory constrained and result in the APEX extension failing to load.
I'm starting this discussion to track the number of issues we have reported around this issue and to track potential solutions.
Troubleshooting
If you are receiving an "unresponsive" error, run the following commands in your project. The first will check to see if you have a stale Apex Language Server. Grab the process ID, and run it in the second command to reset it.
Mac
ps -eo pid,args | grep "[A]pexLanguageServerLauncher"
kill <process_number>
Windows
tasklist
-> find something like [A]pexLanguageServerLaunchertaskkill /PID PID /F
Beta Was this translation helpful? Give feedback.
All reactions