4
1
mirror of https://github.com/pfloos/quack synced 2025-05-06 23:34:42 +02:00

free memory in PyDuck

This commit is contained in:
Loris Burth 2025-03-27 10:59:07 +01:00
parent a8d89aa933
commit 35c2864ea7

View File

@ -318,6 +318,8 @@ if print_2e:
# Free memory
del ovlp, v1e, t1e, x, y, z, mol
if print_2e and not(mmap_2e):
del eri_ao
if args.use_cap:
del cap_ao, pc
gc.collect()