Is it possible to reduce the amount of RAM that Pylance is using?

Hello,

I store my workspace folder inside IsaacSim so that I can use Pylance.
Pylance helps me to “colour” my code and jumping around my code base. But with normal setting of VSCode the Pylance constantly crash due to a large amount of code in Isaac Sim folder. And when I use nodejs execution file as VSCode instruction, that nodejs takes up to 10GB of my RAM.

So, What is the right and memory efficient way to create a workspace in Isaac Sim while working on python?

New update: If I use command Python: Clear cache and reload window then RAM usage will be < 4GB. But is it the smallest amount?