# DefaultBlockPoolMonitor.TrackMemoryAllocated(long)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.defaultblockpoolmonitor/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.defaultblockpoolmonitor/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Common/Monitors/DefaultBlockPoolMonitor.cs#L69-L70)

```csharp
public void TrackMemoryAllocated(long allocatedMemoryInByte)
```

Called when memory is newly allocated by the cache.

### Parameters

- `allocatedMemoryInByte` (`long`): The allocated memory, in bytes.
