OpenGLSurface Memory Leak

I think there might be a memory leak with the OpenGLSurface control (on Windows 7 x64).

Here is a test project to test this…
www.xojo3d.com/oglmleak.xojo_binary_project

The project only has two controls, an OpenGLSurface and a Timer. The timer simply calls OpenGLSurface1.Render() every 10ms.

There is no other logic in the program, except for calling the Render method of the OGL control.

Notice how the memory usage of the app ticks up with 4KB / second in the Windows Task Manager. Also tested with a compiled app with the same result.

Can anyone confirm this?

(Is the same leak seen on OS X and/or Linux?)

[quote=124357:@Alwyn Bester]I think there might be a memory leak with the OpenGLSurface control (on Windows 7 x64).

Here is a test project to test this…
www.xojo3d.com/oglmleak.xojo_binary_project

The project only has two controls, an OpenGLSurface and a Timer. The timer simply calls OpenGLSurface1.Render() every 10ms.

There is no other logic in the program, except for calling the Render method of the OGL control.

Notice how the memory usage of the app ticks up with 4KB / second in the Windows Task Manager. Also tested with a compiled app with the same result.

Can anyone confirm this?[/quote]

Same leak with Windows 8.1 Pro 64 bits.

No detectable leak with Mac OS X. Simply the display flickers fiercely :wink:

Thank you for confirming Michel. I’ve created a feedback case for this issue…

<https://xojo.com/issue/35029>