A local language model needs memory for its weights and the text it works with. When LM Studio on Windows stops a load for insufficient system resources, a smaller model or a shorter context can get chat working again with the guardrails active.

The GGUF file size accounts for only part of the memory a model needs. A longer context allocates more space for past tokens, so the same model can fit at one context length and exceed available memory at another.

Windows and other open apps use some of the installed RAM before the model loads. An estimate for a specific model and set of load parameters helps you check how much memory a retry would need.

Steps to troubleshoot insufficient system resources in LM Studio:

  1. Match the warning in the blocked model loader.

    Not enough resources to load the model with the current settings means LM Studio's memory guardrail has blocked that configuration. The CLI can report Model loading was stopped due to insufficient system resources. Overriding the warning can make Windows unresponsive.

  2. Note the blocked model's Context Length and GPU Offload values.

    The blocked Qwen2.5 32B Q4_0 load uses 4096 tokens and 0 GPU offload.

  3. Click the back arrow beside the model name to return to the model picker.
  4. Press Esc to close the model picker.
  5. Open App Settings from the gear in the lower-left corner.
  6. Select Model Defaults if a different Settings tab is open.
  7. Scroll down to Model Loading Guardrails.
  8. Confirm that Model loading guardrails is set to an active level.

    Relaxed is an active level with mild precautions. If OFF (Not Recommended) is selected, choose an active level before retrying the load.

  9. Verify that lms runs in a fresh PowerShell window with LM Studio open.
    lms --help

    LM Studio sets up the bundled CLI on first launch. If the setup offers Add 'lms' (LM Studio CLI) to your PATH, select it before opening PowerShell.
    Related: How to verify the lms CLI in LM Studio

  10. List the locally installed model keys in PowerShell.
    lms ls

    The LLM column gives the keys for the blocked model and its replacement. The SIZE column shows disk space.

  11. Estimate the blocked model using the settings from its loader.
    lms load --estimate-only qwen2.5-32b-instruct --gpu off --context-length 4096

    The model key comes from the blocked model’s LLM entry. The 4096 in the command is the blocked loader’s Context Length. For CPU-only placement, 0 GPU offload corresponds to –gpu off. If the loader offloads layers to a GPU, –gpu takes the fraction of layers offloaded. A layer count divided by the full-offload layer count gives that fraction. For example, 0.5 offloads half the layers. –estimate-only returns the memory estimate without loading the model.
    At 4096 tokens and 0% GPU offload, the 32B model is estimated at 18.51 GiB on a PC with 16 GiB of RAM. The CLI reports that it will fail to load under the guardrails.
    Related: How to estimate LM Studio model memory before loading

  12. Estimate a smaller model with the same context length and GPU offload.
    lms load --estimate-only qwen2.5-0.5b-instruct --gpu off --context-length 4096

    The command uses the smaller model’s LLM entry and keeps both options from the blocked estimate. The Qwen2.5 0.5B FP16 model is estimated at 1.29 GiB with those same settings. The CLI reports that it may be loaded under the guardrails.
    Related: How to download a model in LM Studio

  13. Close Settings with the X in the upper-right corner.
  14. Open Pick a model in the chat composer.
  15. Choose Open model loader from the menu.
  16. Check that Manually choose model load parameters is on.

    If the switch is off, turn it on before selecting the model.

  17. Select the smaller model whose estimate fits.

    In the example, the Qwen2.5 0.5B Instruct row has the FP16 badge.

  18. Set Context Length to the value used in the smaller model's estimate.

    The Qwen2.5 0.5B FP16 estimate uses 4096 tokens.

  19. Match GPU Offload to the placement used in the smaller model's estimate.

    For the CPU-only estimate, the loader shows 0. For a GPU estimate, match the proportion of layers from the CLI.

  20. Click Load Model once the chosen settings show no resource warning.
  21. Enter “What is 7 plus 5? Reply with just the number.” in the empty chat composer.
  22. Send the staged prompt with the up-arrow button in the composer.
  23. Confirm that the loaded model replies 12 in the chat.

    The reply under the smaller model's name confirms that it loaded and can generate a response.

Share this guide