diff options
author | Stan Seibert <stan@mtrr.org> | 2011-10-17 10:21:47 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:38 -0700 |
commit | 8a81439a976c926e3ff43bd680dab087e13aa3bf (patch) | |
tree | 1db7892e5f55a82521ec6e78ac9eb46d1e87d67d | |
parent | 5562ab260eabbdc29a64a17ef1c9ab6e4a05224e (diff) | |
download | chroma-8a81439a976c926e3ff43bd680dab087e13aa3bf.tar.gz chroma-8a81439a976c926e3ff43bd680dab087e13aa3bf.tar.bz2 chroma-8a81439a976c926e3ff43bd680dab087e13aa3bf.zip |
OK, we really do need to call the garbage collector this frequently.
-rw-r--r-- | chroma/gpu/photon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chroma/gpu/photon.py b/chroma/gpu/photon.py index 739c922..2a9a1ff 100644 --- a/chroma/gpu/photon.py +++ b/chroma/gpu/photon.py @@ -145,7 +145,7 @@ class GPUPhotons(object): del self.flags del self.last_hit_triangles # Free up GPU memory quickly if now available - #gc.collect() + gc.collect() class GPUPhotonsSlice(GPUPhotons): '''A `slice`-like view of a subrange of another GPU photons array. |