# MemoryGrainStorageOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.persistence.memory/orleans.configuration.memorygrainstorageoptions/)

## GrainStorageSerializer {#grainstorageserializer-a91f97fa}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.persistence.memory/orleans.configuration.memorygrainstorageoptions/properties/grainstorageserializer-a91f97fa/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Persistence.Memory/Options/MemoryGrainStorageOptions.cs)

```csharp
public IGrainStorageSerializer GrainStorageSerializer
```

Gets or sets the serializer to use for this storage provider.

## InitStage {#initstage-3d3cf450}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.persistence.memory/orleans.configuration.memorygrainstorageoptions/properties/initstage-3d3cf450/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Persistence.Memory/Options/MemoryGrainStorageOptions.cs)

```csharp
public int InitStage
```

Gets or sets the stage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.

## NumStorageGrains {#numstoragegrains-0d4c71a5}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.persistence.memory/orleans.configuration.memorygrainstorageoptions/properties/numstoragegrains-0d4c71a5/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Persistence.Memory/Options/MemoryGrainStorageOptions.cs)

```csharp
public int NumStorageGrains
```

Gets or sets the number of store grains to use.
