Configuration Files > Software Initialisation File Keywords >

# MemoryApplication

The MemoryApplication keyword allocates memory for frame buffers. A frame buffer is a chunk of memory set aside to store image data in RAM for the fastest possible display of frames while working in the application.

In most cases, the MemoryApplication keyword should be commented out. When it is commented out, the default memory configuration is used, and is based on the physical memory installed on the system. This default configuration is sufficient for most projects, regardless of the different resolutions you may be working with.

Uncommenting the MemoryApplication keyword overrides the default memory configuration. You should only override the default memory configuration by uncommenting the MemoryApplication keyword under the following conditions:

- You are working with 4K 12-bit material.
- You are working in the application and receive “cannot allocate memory buffer” messages.
- Your system fails due to memory panic.

The MemoryApplication keyword uses the following syntax

MemoryApplication <megabytes>

where <megabytes> is the amount of memory dedicated to the corresponding token, in megabytes.

Example of use

MemoryApplication 400

Working with 4K 12-bit Film

Even with the recommended amount of RAM, working with 4K 12-bit film puts great demands on memory management. Set the RAM allocated for buffering frames to between 2000 and 4000.

The ability to mix different resolutions in a 4K 12-bit film project increases memory requirements even further. Even with an override of the default memory management configuration, working at this resolution may not support some advanced features that require a large amount of memory such as the Colour Warper™.

Cannot Allocate Memory Buffer Messages

“Cannot allocate memory buffer” messages indicate a shortage of memory allocated to frame buffering, so uncommenting the MemoryApplication keyword and defining an amount of memory for frame buffers can resolve this problem. The amount to set in this case depends on how much RAM your system has: start with 400 MB for Finishing applications or 700 MB for Visual Effects applications. Allocate more memory to frame buffers in increments of 50 MB as required.

Memory Panic

A memory panic indicates the system is running out of heap memory. Heap memory is memory allocated for use by applications and the operating system. Make sure no other applications are running. If memory panic still occurs, lower the amount of memory allocated to frame buffers.

Remember that overriding the default memory management configuration is only required under these specific conditions. If your system experiences problems related to memory management under normal conditions, contact Autodesk Media and Entertainment Customer Support.

#### Topics in this section

- Working with 4K 12-bit Film
- Cannot Allocate Memory Buffer Messages
- Memory Panic