---
title: My container uses too much RAM
description: Troubleshoot issues encountered with Scaleway Serverless Containers consuming excessive amounts of memory.
tags: serverless containers troubleshooting issue error memory ram
dates:
  validation: 2025-12-19
  posted: 2025-12-19
---

## Problem

My container consumes an excessive amount of memory (RAM).

## Possible cause
	
With [Sandbox v2](/serverless-containers/reference-content/containers-sandbox/), the memory usage of a container is proportional to the number of forked subprocesses.

## Solutions

If your application relies on multiple subprocesses that instantiate numerous objects (such as large module imports in Python), we recommend using [Sandbox v1](/serverless-containers/reference-content/containers-sandbox/).

Refer to the [My container runs out of memory (OOM)](/serverless-containers/troubleshooting/container-oom/) documentation for other solutions for memory issues.