[#node-ShouldWarnOversizedDbCache] = xref:node.adoc[node]::ShouldWarnOversizedDbCache :relfileprefix: ../ :mrdocs: Report whether the configured database cache is large enough to warrant a warning. == Synopsis Declared in `<node/caches.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool ShouldWarnOversizedDbCache( uint64_t dbcache, uint64_t total_ram) noexcept; ---- == Return Value True if `dbcache` exceeds the safe fraction of available RAM. == Parameters [cols="1,4"] |=== | Name| Description | *dbcache* | The configured database cache size in bytes. | *total_ram* | The total system RAM in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#