X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/guppy/heapy/test
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
guppy
/
heapy
/
test
/
ðŸ“
..
📄
__init__.py
(47 B)
ðŸ“
__pycache__
📄
support.py
(3.72 KB)
📄
test_Classifiers.py
(28.38 KB)
📄
test_ER.py
(12.56 KB)
📄
test_OutputHandling.py
(1.34 KB)
📄
test_Part.py
(10.15 KB)
📄
test_Path.py
(28.82 KB)
📄
test_RefPat.py
(16.75 KB)
📄
test_RetaGraph.py
(95 B)
📄
test_Spec.py
(351 B)
📄
test_UniSet.py
(1.21 KB)
📄
test_View.py
(7.99 KB)
📄
test_all.py
(682 B)
📄
test_dependencies.py
(214 B)
📄
test_gsl.py
(421 B)
📄
test_heapyc.py
(15.6 KB)
📄
test_menuleak.py
(3.12 KB)
📄
test_sf.py
(583 B)
Editing: test_sf.py
import importlib # This is to see that the total memory usage doesn't increase with time # i.e. no leakage / link between consecutive usages of hsp. # This will run for ever, to be monitored by the printout and some external monitor. def t(): from guppy import hsp while 1: import guppy.heapy.UniSet import gc importlib.reload(guppy.heapy.UniSet) hp = hsp() x = None x = hp.heap() print(x) gc.collect() print(x[0]) print(x[1]) print(x[2]) gc.collect() print(x & dict)
Upload File
Create Folder