Skip to content

In-game overlay memory leak causes OOM crash #634

Description

@tiger2005
  1. When tosu runs with the in-game overlay enabled, it gradually consumes more and more memory until the process crashes with a "JavaScript heap out of memory" error. The crash typically occurs after 1-2 hours of gameplay. The issue happens every time I play osu!lazer with tosu.
  2. Tosu was located at C:\Users\tiger2005\Documents\tosu\game-overlay\tosu.exe.
  3. I think it is more important to display the log other than a video here. I'm sorry that I forgot to toggle the Debug Mode on.

tosu.env

DEBUG_LOG=false
ENABLE_AUTOUPDATE=true
OPEN_DASHBOARD_ON_STARTUP=true

SHOW_MP_COMMANDS=false
CALCULATE_PP=true
READ_MANIA_SCROLL_SPEED=true

ENABLE_KEY_OVERLAY=true
ENABLE_INGAME_OVERLAY=true

POLL_RATE=100
PRECISE_DATA_POLL_RATE=10

INGAME_OVERLAY_KEYBIND=Control + Shift + O
INGAME_OVERLAY_MAX_FPS=60

SERVER_IP=127.0.0.1
SERVER_PORT=24050
ALLOWED_IPS=127.0.0.1,localhost,absolute

STATIC_FOLDER_PATH=./static

Information caught from console:

tosu.log

Log from logs directory:

latest.log

  1. I played on Windows. The versions are: v4.22.3 / osu!lazer 2026.620.0

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

    area:overlayRegarding the in-game overlay feature.missing detailsWe don't yet know the cause of this.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions