Hi again! BTW, this is the out of the profiler. If I read correctly, there are ~33.000.000 floats? What for? Line 4/5 have exactly the size of my index arrays. Why are there 2 of them?
Ok, I know there have to be target structures during T&L. But so much? May it be that the structure is jsut TOO big an Java3D breaks them up internally again to unindexed structures? Would it help breaking them up myself? Dealing them unindexed myself? ... TRACE 8346: javax.media.j3d.GeometryArrayRetained.createGeometryArrayData(GeometryArrayR etained.java:1042) javax.media.j3d.IndexedGeometryArrayRetained.cloneNonIndexedGeometry(Indexed GeometryArrayRetained.java:82) javax.media.j3d.GeometryArrayRetained.updateMirrorGeometry(GeometryArrayReta ined.java:7896) javax.media.j3d.RenderingAttributesStructure.updateObject(RenderingAttribute sStructure.java:92) ... TRACE 6093: javax.media.j3d.GeometryArrayRetained.createGeometryArrayData(GeometryArrayR etained.java:1042) javax.media.j3d.IndexedGeometryArrayRetained.cloneNonIndexedGeometry(Indexed GeometryArrayRetained.java:82) javax.media.j3d.GeometryArrayRetained.update(GeometryArrayRetained.java:531) javax.media.j3d.GeometryRetained.doSetLive(GeometryRetained.java:195) ... SITES BEGIN (ordered by live bytes) Fri Mar 29 00:58:00 2002 percent live alloc'ed stack class rank self accum bytes objs bytes objs trace name 1 28.45% 28.45% 44017000 53 44017000 53 0 [F 2 28.35% 56.80% 43868344 1 43868344 1 8346 [F 3 28.35% 85.15% 43868344 1 43868344 1 6093 [F 4 4.05% 89.20% 6266920 1 6266920 1 6017 [I 5 4.05% 93.25% 6266920 1 6266920 1 6016 [I > Hi community! > > I'm playing around with a primitive heigthfield renderer on a regular grid > loaded from an image file. > The scenegraph is really simple containing just one large > IndexedTriangleArray. Now, taking a grid of 512x512 causes an > OutOfMemoryException - the footprint of the JVM is >81MB. > > I calculated the basic size of the data taking 3 float/vertex and 3 > byte/color (~4MB) and 6*511*511 ints for the index (~6MB). > This turns out to be approx ~10MB. > =========================================================================== 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".