Skip to content

[Bug] High memory usage, Mouser consumes 1.29GB memory #150

@ivanvanderbyl

Description

@ivanvanderbyl

Mouser version

Latest

How are you running Mouser?

Official GitHub release asset

Build / asset details

Mouser Mac

Operating system

Other

OS version details

macOS 26

Mouse connection type

Bluetooth

Logitech Options+ status

  • I have confirmed that Logitech Options+ is not running

What happened?

Mouser consumes 1.29 GB of memory, which is considerably a lot for what it does.

Expected behavior

It should consume <100MB

Steps to reproduce

Open Mouser
Leave it running for a day
Check usage in Activity Monitor

Device info JSON

{
  "device_key": "mx_master_4",
  "display_name": "MX Master 4",
  "product_id": "0xB042",
  "product_name": "MX Master 4",
  "transport": "Bluetooth Low Energy",
  "ui_layout": "mx_master_4",
  "supported_buttons": [
    "middle",
    "gesture",
    "gesture_left",
    "gesture_right",
    "gesture_up",
    "gesture_down",
    "xbutton1",
    "xbutton2",
    "hscroll_left",
    "hscroll_right",
    "mode_shift"
  ],
  "gesture_cids": [
    "0x00C3",
    "0x00D7"
  ],
  "dpi_range": [
    200,
    8000
  ],
  "discovered_features": {
    "REPROG_V4 (0x1B04)": "index 0x0D",
    "ADJUSTABLE_DPI (0x2201)": "index 0x14",
    "SMART_SHIFT_ENHANCED (0x2111)": "index 0x11",
    "BATTERY (0x1004)": "index 0x09"
  },
  "reprog_controls": [
    {
      "index": 0,
      "cid": "0x0050",
      "task": "0x0038",
      "flags": "0x0401",
      "mapped_to": "0x0050",
      "mapping_flags": "0x0000"
    },
    {
      "index": 1,
      "cid": "0x0051",
      "task": "0x0039",
      "flags": "0x0401",
      "mapped_to": "0x0051",
      "mapping_flags": "0x0000"
    },
    {
      "index": 2,
      "cid": "0x0052",
      "task": "0x003A",
      "flags": "0x0531",
      "mapped_to": "0x0052",
      "mapping_flags": "0x0000"
    },
    {
      "index": 3,
      "cid": "0x0053",
      "task": "0x003C",
      "flags": "0x0531",
      "mapped_to": "0x0053",
      "mapping_flags": "0x0000"
    },
    {
      "index": 4,
      "cid": "0x0056",
      "task": "0x003E",
      "flags": "0x0531",
      "mapped_to": "0x0056",
      "mapping_flags": "0x0000"
    },
    {
      "index": 5,
      "cid": "0x00C3",
      "task": "0x009C",
      "flags": "0x0531",
      "mapped_to": "0x00C3",
      "mapping_flags": "0x0000"
    },
    {
      "index": 6,
      "cid": "0x00C4",
      "task": "0x009D",
      "flags": "0x0531",
      "mapped_to": "0x00C4",
      "mapping_flags": "0x0000"
    },
    {
      "index": 7,
      "cid": "0x01A0",
      "task": "0x0109",
      "flags": "0x0531",
      "mapped_to": "0x01A0",
      "mapping_flags": "0x0000"
    },
    {
      "index": 8,
      "cid": "0x00D7",
      "task": "0x00B4",
      "flags": "0x03A0",
      "mapped_to": "0x00D7",
      "mapping_flags": "0x0000"
    }
  ],
  "gesture_candidates": [
    "0x00C3",
    "0x00D7"
  ]
}

Log file contents


Screenshots or screen recordings

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions