> For the complete documentation index, see [llms.txt](https://kevindebruno.gitbook.io/worker-troubleshooting-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kevindebruno.gitbook.io/worker-troubleshooting-guide/faqs/vmmem-use-much-ram-usage.md).

# Vmmem use much ram usage

<figure><img src="https://2961622933-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqMfOJ12ORoZOYNm0exux%2Fuploads%2FwFfRnwSr7bca6ovkqS8I%2Fimage.png?alt=media&amp;token=5d57b4f3-7a67-4aef-90e8-0af2763bc04a" alt=""><figcaption></figcaption></figure>

This is answer from support team:

You can do these steps to limit ram consuption:

Windows WSL RAM settings

You can create a file named .wslconfig to restrict resources used by wsl2.

Create the .wslconfig File:

Open File Explorer and navigate to your user's home directory, usually C:\Users.&#x20;

Here, create a new text file named .wslconfig&#x20;

Edit the .wslconfig File:

You can right-click the newly created .wslconfig file and open it with a text editor, such as Notepad.

Add the following configuration parameters to limit memory (adjust the values according to your preference): \[wsl2]&#x20;

memory=4GB # Limits VM memory in WSL 2 to 4 GB&#x20;

processors=2 # Limits the number of processors to 2&#x20;

swap=8GB # Sets the swap size to 8 GB
