support MemUsage for custom maps