# IBlockPoolMonitor.TrackMemoryAllocated(long)

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

```csharp
public abstract void TrackMemoryAllocated(long allocatedMemoryInBytes)
```

Called when memory is newly allocated by the cache.

### Parameters

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