Skip to content

Profiling the memory usage #949

@yuanzhou

Description

@yuanzhou

Based on observations from #943, over time (several hours to a day) the entity-api container (may also apply to search-api container and others) gradually consumes more RAM. Eventually, it may max out system resources unless restarting the container. This may have been contributing to the VM downtime issue as well.

Try with different Python memory profilers to analyze and understand the memory usage of entity-api. The goal is to identify memory leaks, optimize memory consumption, and improve the overall efficiency.

Combining the following activities:

  • Create new entities to trigger reindex
  • Update entities to trigger reindex
  • Retrieve entities of different types

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions