#jogamp @ irc.freenode.net - 20151101 05:05:20 (UTC)


20151101 05:05:20 -jogamp- Previous @ http://jogamp.org/log/irc/jogamp_20151031050520.html
20151101 05:05:20 -jogamp- This channel is logged @ http://jogamp.org/log/irc/jogamp_20151101050520.html
20151101 09:52:21 * monsieur_max (~maxime@anon) has joined #jogamp
20151101 13:25:36 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151101 16:28:20 * monsieur_max (~maxime@anon) has joined #jogamp
20151101 18:25:40 <rmk0> ok, i am now worried... i have a pair of trivial programs, one written in C and the other in Java with JOGL
20151101 18:26:04 <rmk0> they both perform the same actions in a loop... first, allocate a 100mb VBO, then allocate a VAO, then attach the VBO to the VAO, then delete the VBO, then delete the VAO
20151101 18:26:30 <rmk0> i run them both with LIBGL_ALWAYS_SOFTWARE=true so that VBOs are allocated in system memory so that i can track the allocations with 'top'
20151101 18:26:50 <rmk0> the JOGL version leaks every single VBO!
20151101 18:27:46 <rmk0> https://github.com/io7m/opengl-cases/blob/master/vao_leak0.c
20151101 18:27:55 <rmk0> https://github.com/io7m/opengl-cases/blob/master/src/main/java/com/io7m/opengl_cases/VAOReferencesVBO.java
20151101 18:29:21 <rmk0> both take a command line option - "leak" - that fails to throw away the VAO, deliberately causing a leak
20151101 18:29:54 <rmk0> but the JOGL version leaks unconditionally, even if both the VBO and VAO are deleted
20151101 19:26:11 <rmk0> OH DEAR
20151101 19:26:18 <rmk0> excuse me... this one was my fault
20151101 19:45:55 * bigpet (uid25664@anon) Quit (Quit: Connection closed for inactivity)
20151101 21:37:26 * monsieur_max (~maxime@anon) Quit (Quit: Leaving.)
20151102 05:05:20 -jogamp- Continue @ http://jogamp.org/log/irc/jogamp_20151102050520.html