Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  windows native code memory leak?  (Read 644 times)
0 Members and 1 Guest are viewing this topic.
Offline naphtha

JGO n00b
*

Posts: 10


This isn't easy...


« on: 2004-06-11 17:52:57 »

I'm doing some offscreen rendering using JOGL under Windows and may be running into a memory leak. I am using a 2/17/04 beta release of JOGL 1.0. I'm hesitant to upgrade, because it took me a long time to get everything working, but I will if I have to.

My code renders a 256x256 image and returns it as a bitmap. I'm not using PBuffers. Apparently, after about 600 calls, the server shows 750MB of memory in use. Only 15MB are used by the Java VM. I assume the rest must have been allocated and not released by the JOGL DLLs. Is this possible?

Does anyone have any suggestions on where I can go to start looking for this type of leak or how to possibly avoid it.

Regards,
Daniel
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.092 seconds with 21 queries.