Skip to content

Very slow initialization #508

Description

@klonuo

Hi,

I installed this tool through uv, and I'm currently in the latest version 0.17.5. Even now when trying to print version bm --version I wait 15sec to see the version, which is very slow.

My problem is that my CLI agent disables this MCP server with timeout. As I understood that setting BASIC_MEMORY_SYNC_CHANGES=false will disable background sync during startup, and setting specific project will avoid initialization of all projects, my setting is this:

{
  "mcp": {
    "memory": {
      "type": "local",
      "enabled": true,
      "command": ["bm", "mcp", "--project", "psfzf"],
      "environment": {
        "BASIC_MEMORY_SYNC_CHANGES": "false",
        "BASIC_MEMORY_HOME": "c:/Users/klo/basic-memory",
        "BASIC_MEMORY_CONFIG_DIR": "c:/Users/klo/.basic-memory"
      }
    }
  }
}

which doesn't affect startup time significantly.

Is there any other way I could try to speedup startup time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions