Skip to content

Memory: High memory usage in GetAllServiceCatalogEntries #313

Description

@sgnilreutr

Memory profiling shows that GetAllServiceCatalogEntries is a significant memory consumer. 100 calls grew HeapSys by 4MB. Benchmark shows 540KB/op, 13K allocs for n=1000. This is likely the largest single contributor to memory usage in the daemon. Proposed solution: implement pagination, stream results instead of loading all into memory, consider lazy loading with caching.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions