[#node-ShouldWarnOversizedDbCache]
= xref:node.adoc[node]::ShouldWarnOversizedDbCache
:relfileprefix: ../
:mrdocs:

Report whether the configured database cache is large enough to warrant a warning&period;

== Synopsis

Declared in `&lt;node&sol;caches&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
ShouldWarnOversizedDbCache(
    uint64&lowbar;t dbcache,
    uint64&lowbar;t total&lowbar;ram) noexcept;
----

== Return Value

True if `dbcache` exceeds the safe fraction of available RAM&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dbcache*
| The configured database cache size in bytes&period;
| *total&lowbar;ram*
| The total system RAM in bytes&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
