There has been issues on memory usage around IntelliSense engine process on macOS and Linux platforms. On Windows, the IntelliSense engine process will shutdown when it reaches a certain threshold of memory usage, therefore there has been no feedback issues on memory usage on Windows as the process will terminates before it uses an undesirable amount of memory.
To mitigate the memory usage issue on macOS and Linux, add a mechanism to terminate the IntelliSense engine process when it reaches N amount of memory usage.
Value of memory usage limit:
- The limit is configurable
- default is 4 GB
- minimum is 256 MB
- maximum is 6 GB