Version: current

# Function increase_memory_limit_to

Increase the memory limit to the given level if it's currently too low.

Package: sapphire\core
Located at sapphire/core/Core.php

## Parameters summary

`A` | `$memoryLimit = -1` | memory limit string, such as "64M". If omitted, unlimited memory will be set.

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -