> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackshift.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Change memory

> Pick a memory size for a service. StackShift marks the size that fits what it measured and shows the price difference.

> [!TIP]
>
> **Live.** This area is documented as current, user-reliable behavior.

## Goal

Raise or lower memory with the cost in front of you.

## Prerequisites

* Developer access or higher. Owners and admins approve at once; see Apply and approvals.

## Workflow

**Step 1**

Open Project, Metrics, Memory, pick the service and choose to change memory. A finding’s Raise memory or Lower memory button opens the same screen.

**Step 2**

Read the measured line: live usage and the peak.

**Step 3**

Choose a size. Each shows a short description and its price.

**Step 4**

Optionally keep the runtime cap in step with the new size.

**Step 5**

Confirm. The project’s services restart once.

## Sizes

* Recommended: the smallest size that fits the measured peak plus 25 percent. After out-of-memory kills it is always above the current size.
* Now: the size you have today.
* Each size shows what it costs: more a month, saves a month, no change in price, or included in your plan.
* The screen opens on raise when something ran out of memory, and on lower when an oversized finding is open.

## What happens

* Memory is set per project, so changing it restarts the project’s services once.
* Size changes also work while the app is down.
* StackShift never lowers memory on its own. Lowering is always something you choose.

## Expected result

> [!TIP]
>
> The service runs at the new size within a minute, and the memory chart shows a resize marker.

## Related guides

> [card] [Apply and approvals](https://docs.stackshift.cloud/performance/apply-and-approvals.md)
>
> Apply makes the change for you. It goes through approvals like any change Stackie makes.

> [card] [What to improve](https://docs.stackshift.cloud/performance/what-to-improve.md)
>
> A ranked list of findings for the project. Each says what is wrong, shows the evidence, says what fixing it is worth and gives the steps.

> [card] [Runtime memory caps](https://docs.stackshift.cloud/performance/runtime-memory-caps.md)
>
> StackShift sets a memory cap for your runtime on new deploys, so the app stays under its limit instead of being killed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.