# RAM Provider

Use the RAM provider to store files within available RAM.

{% hint style="warning" %}
The trade-off with the RAM provider is that IO operations will be performed incredibly fast, but you are limited to the available RAM that's been allocated to run your CFML application.&#x20;
{% endhint %}

## Configuration

### Example

{% code title="config/ColdBox.cfc" %}

```json
moduleSettings = {
	"cbfs": {
		// The default disk with a reserved name of 'default'
		"defaultDisk" : "myStorage",
		// Register the disks on the system
		"disks"       : {
			// Your default application storage
			"myStorage" : {
				"provider"   : "RAM",
				"properties" : {}
			}
		}
	},
};
```

{% endcode %}

### Properties

When configuring your RAM disks, the following properties are available:

<table><thead><tr><th width="217">Property</th><th width="106">Type</th><th width="129">Default</th><th>Description</th></tr></thead><tbody><tr><td><code>uploadMimeAccept</code></td><td><code>string</code></td><td>*</td><td>The mime types which are accepted via the upload method. Defaults to all.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cbfs.ortusbooks.com/getting-started/providers/ram-provider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
