# getCacheEngineMemSize {#getCacheEngineMemSize}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`getCacheEngineMemSize()`

## Arguments {#arguments}

None

## Details {#details}

Obtain the memory status \(in Byte\) of the OLAP cache engine on the current node.

It returns a tuple:

-   The 1st element indicates the memory occupied by the cache engine;
-   The 2nd element indicates the memory occupied by the column files stored in the cache engine;
-   The 3rd element indicates the memory occupied by the column file pointers;
-   The 4th element indicates the maximum memory allocated to the cache engine.

## Examples {#examples}

``` {#codeblock_nv4_5kt_hzb}
setCacheEngineMemSize(0.4)
getCacheEngineMemSize()
// output: (0,0,0,429496729)
```

Related function: [setCacheEngineMemSize](../s/setCacheEngineMemSize.md)

