Is it possible, especially for the particular definition of IndexedTriangleArray used in my testcase, that Java3D is creating multiple copies of indices array even when the USE_COORD_INDEX_ONLY flag has been explicitly specified ?
--Vaidya >On Fri, 11 Jun 2004 12:01:40 -0400, N Vaidya <[EMAIL PROTECTED]> wrote: > >I'm trying to understand the memory usage in Java3D while trying to create an IndexedTriangleArray. I'm using the attached simple testcase which: > >1. creates arrays for coordinates, colors, normals, and indices >2. prints the total/free memory to console >3. creates an IndexedTriangleArray with the arrays from (1) >4. prints the total/free memory to console > >I can see that the free memory shows a reduction while creating the IndexedTriangleArray and, in fact, the reduction appears to be a function of the geometry size. What could be the possible reason(s) for this ? > >Attached zip file, ByRefTest.zip, contains the testcase. >To test, do: >> javac ByRefTest.java >> java -Xms128m -Xmx128m -verbose:gc ByReftTest > >TIA > >--Vaidya > > > >____________________________________________________________ >Find what you are looking for with the Lycos Yellow Pages >http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.a sp?SRC=lycos10 > > ========================================================================== >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff JAVA3D-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".