Closed mastadle closed 1 month ago
Pydase currently has a significant memory leak if a DataService contains a dict or a list.
DataService
ObservableObject
import json import time import pydase dict_json = """ { "foo": "bar" } """ class Service(pydase.DataService): def __init__(self) -> None: super().__init__() self.dict_attr = {} service = Service() while True: service.dict_attr = json.loads(dict_json) time.sleep(0.01)
Thanks for debugging this!
Pydase currently has a significant memory leak if a
DataService
contains a dict or a list.Changed
ObservableObject
classesMinimal Example