I am running a 2D application on WinXP with opengl enabled. This application would bring up frame / dialog/ window one after the other and perform some Graphics rendering on it. Windows are created with different available GCs. With the default heap settings, everything runs normally. But when running with '-Xmx128m -Xms64m' and opengl enabled, the VM crashes when showing the Window. The system on which this was executed contains 512 MB RAM and it is a P2-2.40GHZ machine. It has Nvidia GeForce MX4000 video card with the latest driver (66.93). This is also reproducible on another system having NVidia GeForce MX440 video card.
This is noticed on Mustang-b22 as well as Tiger-FCS.
I have attached a sample test. Execute the sample test as follows:
java -Xmx128m -Xms64m -Dsun.java2d.opengl=True CreateWindowMultiScreenTest
You would see a frame showing all the renderings followed by a Dialog. If the VM crashes after dialog gets disposed, the bug is reproduced. (if not getting the first time, try running it couple of more times)
NOTE:
I tried debugging this using JConsole and the memory usage rises up to 10MB before the app crashes. If I click 'Perform GC' manually after frame's disposal or Dialog's disposal, the crash is not happening.
###@###.### 2005-2-10 11:46:35 GMT