# GetTotalReservedMemory()

> Returns the amount of reserved system memory.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Profiling](/engine/6000.7/script-reference/unityengine/profiling.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Deprecated.** GetTotalReservedMemory has been deprecated since it is limited to 4GB. Please use GetTotalReservedMemoryLong() instead.

```csharp
public static uint GetTotalReservedMemory()
```

### Returns

| Type                                                         | Description |
| ------------------------------------------------------------ | ----------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) |             |

### Remarks

Unity requests the amount of memory that the game will use. [Profiler.GetTotalReservedMemory](/engine/6000.7/script-reference/unityengine/profiling/profiler/gettotalreservedmemory.md) is the full amount that Unity currently has.  Part of this memory is used by the game using [Profiler.GetTotalAllocatedMemory](/engine/6000.7/script-reference/unityengine/profiling/profiler/gettotalallocatedmemory.md), and the remainer is stored and unused.

Additional Resources: [Profiler.GetTotalAllocatedMemory](/engine/6000.7/script-reference/unityengine/profiling/profiler/gettotalallocatedmemory.md), [Profiler.GetTotalUnusedReservedMemory](/engine/6000.7/script-reference/unityengine/profiling/profiler/gettotalunusedreservedmemory.md).
