Skip to content

Memory leak with Series #2632

@hiki8man

Description

@hiki8man

Version of Dear PyGui

Version: 2.2
Operating System: Windows10

My Issue/Question

When using the series in Dear PyGui, a memory leak has been observed. Specifically, after locking the screen (e.g., using Win+L) when a viewport with a series has been created, the memory usage of the main process begins to steadily increase.
I'm also tired test 2.3 bulid on Github Actions and it's still happen

To Reproduce

Steps to reproduce the behavior:

  1. Run the sample code
  2. Press Win+L to lock the screen and wait for a while
  3. Unlock screen
  4. See error

Expected behavior

Memory usage should remain constant and not increase over time.

Standalone, minimal, complete and verifiable example

import dearpygui.dearpygui as dpg

dpg.create_context()
dpg.create_viewport(title='test', width=600, height=600)

dpg.show_metrics()

dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions