# GetMemoryUsage()

Returns detailed information to the memory usage of the container.

```
GetMemoryUsage( type=string );
```

**Returns:** query

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| type | string | No | type of the memory information, valid values are: - heap - non_heap if this attribute is not provided all types are returned. |  |

# Examples

```cfml
writeDump(getMemoryUsage());
writeDump(getMemoryUsage('Heap'));
```







# Categories

[Lucee Server related Tags, Functions and Guides](../../categories/server.md)