Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psycopg/psycopg
/ collect
Method
collect
tests/fix_gc.py:42–47 ·
view source on GitHub ↗
gc.collect(), but more insisting.
()
Source
from the content-addressed store, hash-verified
40
41
@staticmethod
42
def
collect() -> None:
43
""
"
44
gc.collect(), but more insisting.
45
""
"
46
for
i in range(3):
47
gc.collect()
48
49
@staticmethod
50
def
count() -> int:
Callers
14
test_copy_to_leaks
Function · 0.80
test_copy_from_leaks
Function · 0.80
test_leak
Function · 0.80
test_leak
Function · 0.80
test_leak
Function · 0.80
test_copy_to_leaks
Function · 0.80
test_copy_from_leaks
Function · 0.80
test_leak
Function · 0.80
test_leak
Function · 0.80
test_leak
Function · 0.80
test_copy_from_leaks
Function · 0.80
test_copy_from_leaks
Function · 0.80
Calls
no outgoing calls
Tested by
14
test_copy_to_leaks
Function · 0.64
test_copy_from_leaks
Function · 0.64
test_leak
Function · 0.64
test_leak
Function · 0.64
test_leak
Function · 0.64
test_copy_to_leaks
Function · 0.64
test_copy_from_leaks
Function · 0.64
test_leak
Function · 0.64
test_leak
Function · 0.64
test_leak
Function · 0.64
test_copy_from_leaks
Function · 0.64
test_copy_from_leaks
Function · 0.64