Login  Register

Re: Crash when creating more than ~15 jogl/awt windows

Posted by GiGurra on Jun 15, 2011; 10:15pm
URL: https://forum.jogamp.org/Crash-when-creating-more-than-15-jogl-awt-windows-tp3054540p3069870.html

thanks for the response, I will send you an email with attached simplified netbeans project if that helps.
(or just java files, please provide where I should send to)

but PLEASE: NOTE!: The limit is per process, NOT per thread.
Multiple threads do not help as Ive stated earlier in the thread.

Basically the test is super simple for both the AWT and NEWT case.
Set up a for loop and create n windows until you get the error (at for example 40)
Then do 30 windows without error in 4-5 separate processes (so u get 120-150 windows )

You dont need to do any actual rendering, creating the OpenGL windows & contexts is enough