[#node-CalculateCacheSizes] = xref:node.adoc[node]::CalculateCacheSizes :relfileprefix: ../ :mrdocs: Split the configured total database cache across the indexes and kernel caches. == Synopsis Declared in `<node/caches.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:node/CacheSizes.adoc[CacheSizes] CalculateCacheSizes( xref:ArgsManager.adoc[ArgsManager] const& args, size_t n_indexes = 0); ---- == Return Value The computed per‐component cache sizes. == Parameters [cols="1,4"] |=== | Name| Description | *args* | Argument manager holding the parsed settings. | *n_indexes* | Number of optional indexes that will share the cache. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#