Artem Pavlovskii
Artem Pavlovskii
Hi @martinjm97, Thank you for your reply! Indeed, the `_get_class_variables` method works slow. The problem is that when I try to use ChemProp in my workflow, I need some default...
I also faced this bug. To reproduce ```python import gc import pytorch_lightning as pl gc.enable() gc.set_debug(gc.DEBUG_LEAK) gc.collect() assert not gc.garbage, f"{len(gc.garbage)} object found." ``` raises AssertionError. 22 objects are in...
FYI, the same thing happens if I delete `pl` with `del pl` command on line 3
Just a simple example to reproduce ```python import gc import numpy as np import numba @numba.jit(cache=False) def main(x): x**2 gc.enable( ) gc.set_debug(gc.DEBUG_SAVEALL) x = np.random.random((10,)) main(x) gc.collect() assert not len(gc.garbage),...
I've got a simple example to reproduce the leak ```python import gc from numba import njit @njit() def compute(x: int): return x+1 compute(1) garbage = gc.collect() assert not garbage, f"There...
Hi team, I've also faced this issue. Here is the minimal reproducible example, ```python import jnius import threading def do_job(tid): cls = jnius.autoclass('java.lang.String') print(f"thread: {tid}, Id: {cls} | {id(cls)}") def...
More complicated snippet using ArrayList ```python import jnius import threading from queue import Queue def do_job(tid, q): ArrayList = jnius.autoclass('java.util.ArrayList') arraylist = ArrayList() arraylist.add(tid) arraylist.set(0, arraylist.get(0)) q.put((tid, arraylist)) def do_job_passed(tid,...