From 8a81439a976c926e3ff43bd680dab087e13aa3bf Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Mon, 17 Oct 2011 10:21:47 -0400 Subject: OK, we really do need to call the garbage collector this frequently. --- chroma/gpu/photon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit