Skip to content

Memory usage status #1044

@rgaudin

Description

@rgaudin

Following discussions regarding cache, I think it would be very useful, for diagnostic and development matters, to be able to know how memory is being used:

  • the cache config: nb of to-cache clusters vs nb of clusters in ZIM, etc.
  • how much we reserved for the various caches
  • how those are used: cluster number, etc but their size as well (even when fixed)
  • how many times a cache entry has been hit

Maybe that's too intrusive to be included in releases and is limited to DEBUG builds (nightlies).

Opening here for now but ideally this information should be available to a kiwix-serve user but that's a different story.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions