I recently created a small project to test playing Quicktime movies, using the Quicktime for Java API, as a texture in OpenGL. The problem I have is that there is a very rapid increase in the amount of memory being used, and the amount used very rapidly passes by the 1GB limit.
To make sure that the issue wasn’t in the Quicktime code I ran it separately. In this scenario the memory usage did increase but much slower and inserting “System.gc()” into the loop actually helped it to stop increasing beyond a certain point and did not show the rapid growth that I saw in the case of OpenGL. Do note that I called all the same code that would be called by OpenGL class, minus any real drawing. I have tried to limit the amount of new objects being created in my loop to a maximum, but I just can’t work out what is going wrong.
Can anyone help?
FYI: MacOS X 10.4.3, Java 1.4.2, JOGL Build 2005-11-12 (my previous version of 2005-11-01 tried too)