I encounter a very strange problem. Maybe someone can point me in the right direction.
When I work on my application for a few hours, at some point, GameWindow.SwapBuffers() suddenly becomes extremely slow (it takes about a second). Sometimes restarting the application helps. When I restart the computer the problem goes away for a few hours.
It might happen because I quit and restart the application a lot during development. Perhaps a problem with improper cleanup, but I didn't find anything that could cause a problem so far. I create all my textures on startup and rely on GameWindow.Dispose() to clean them up.
Is there anything I can do or test to find out what might be the root of the problem?