# getTSDBCacheEngineSize {#gettsdbcacheenginesize}

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

## Syntax {#syntax}

`getTSDBCacheEngineSize()`

## Arguments {#arguments}

None

## Details {#details}

Return a LONG type data that indicates the maximum memory \(in Bytes\) allocated to the TSDB cache engine.

## Examples {#examples}

```
setTSDBCacheEngineSize(0.5)
getTSDBCacheEngineSize()
// output: 536870912
```

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

