Duplicate :
|
|
Relates :
|
|
Relates :
|
the test fails wiht timeout because of OutOfMEmoryError (log is attached) I can reproduce the same issue with my test. I am running a fullscreen application on SuSE 10.0 which cycles through all the graphics configs and graphics devices. For each GC, it creates a frame, pushes it into FS mode and disposes the frame. When I monitored this through Jconsole, I found that the memory consumption is going steeply and garbage collection is not performed. Eventually it throws OutOfMemoryError after some loops. I tried to narrow down the problem and found that the problem disappears if I call setFullScreenWindow(null) before disposing the window. But If I don't call the above method and just dispose the window directly, there seems to be a memory leak. I reproduced it on SUSE 10 with Nvidia GeForce FX5900 and ATI Radeon 9600, both with the latest drivers installed. Reproduced with JDK7 as well as JDK6-FCS. I have attached my test to the bug report.
|