Whenever -blocksonly is specified, there is implicitly a zero size mempool. However, there is still a non-zero value for -maxmempool which will be shared with dbcache, leading to 300 MB extra usage. Fix this.
#include <addrman.h>
#include <banman.h>
#include <blockfilter.h>
#include <chain.h>
#include <chainparams.h>
#include <consensusamount.h>
#include <deploymentstatus.h>
#include <fs.h>
#include <hash.h>
#include <httprpc.h>
#include <httpserver.h>
#include <indexblockfilterindex.h>
#include <indexcoinstatsindex.h>
#include <indextxindex.h>
#include <initcommon.h>
#include <interfaceschain.h>
#include <interfacesinit.h>
#include <interfacesnode.h>
#include <mapport.h>
#include <net.h>
#include <net_permissions.h>
#include <net_processing.h>
#include <netbase.h>
#include <netgroup.h>
#include <nodeblockstorage.h>
#include <nodecaches.h>
#include <nodechainstate.h>
#include <nodechainstatemanager_args.h>
#include <nodecontext.h>
#include <nodeinterface_ui.h>