Removing/recreating one gltf model shows that memory leaks. Starting slideshow again and again leads to bad_allocation problem. We will run memory analyzer tool again, so hopefully it will find the problem.
I forgot to push one of my memory leak fixes. http://cgit.freedesktop.org/libreoffice/core/commit/?id=dfdc9f5ba4493369a0c6fb3a1d7c5781deeb5bc2
But there are still a number of leaks mainly in opencollada.
I could not find any memory leaks in gltf. Maybe we have OpenGL resource leaks or they leaks are not detected by Lsan.
It is solved by integrating libglt-0.0.0 into LibreOffice: