Skip to content

Web UI memory count stuck at 500, actual traces exceed 1400 #1593

@zzeehhaaq-sudo

Description

@zzeehhaaq-sudo

Bug Description

Environment:

  • MemOS version: v2 (latest)
  • Deployment: hermes-agent plugin mode
  • Node.js process running normally

Problem:
Web UI shows Memory count: 500 but database has 1400+ traces. The number stays fixed at 500 regardless of actual trace count growth.

Expected behavior:
Memory count should reflect actual trace count in database (~1422), not a fixed cap of 500.

Steps to reproduce:

  1. Use hermes-agent with MemOS normally
  2. Observe Web UI number after extended use
  3. Number stops at 500 while database trace_count exceeds 1400

Initial analysis:
Suspect issue in metrics().total calculation logic, or frontend applying a hard cap on totalCount. Database query for trace count is accurate - problem is in presentation layer.

Impact:
Cannot accurately monitor memory system storage via Web UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions