diff options
author | Kevin Rushforth <[email protected]> | 2007-01-19 00:12:09 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2007-01-19 00:12:09 +0000 |
commit | 0db515af64eefeffb5556a8f03923e4554fc8232 (patch) | |
tree | 30f87e4f26f8f7b38c26d3a3b409a5481282c7df /src/classes/share | |
parent | 1a9491854e6829deef105527bdb7d5e5664ab66d (diff) |
Fixed 434: OutOfMemory after creating millions of RenderAtomListInfo objects
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@771 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/classes/share')
-rw-r--r-- | src/classes/share/javax/media/j3d/TransformStructure.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/classes/share/javax/media/j3d/TransformStructure.java b/src/classes/share/javax/media/j3d/TransformStructure.java index 8320a6c..3d16166 100644 --- a/src/classes/share/javax/media/j3d/TransformStructure.java +++ b/src/classes/share/javax/media/j3d/TransformStructure.java @@ -189,6 +189,9 @@ class TransformStructure extends J3dStructure implements ObjectUpdate { } processVwcBounds(); } + + // Issue 434: clear references to objects that have been processed + objectList.clear(); Arrays.fill(messages, 0, nMsg, null); } |