Opengl throws std::bad_alloc - but why?
I'm writing a mapping application (C++) on ubuntu, but while I still have loads of free memory, opengl is throwing this exception. (well I assume its opengl, I'm using GTKMM)
I'm using drivers 256.40 running on kernel 2.6.31-22-generic 32 bit.
The PC has 3Gb of RAM and system monitor shows the app using just under 80Mb of RAM, but with less than 20% of total system RAM used.
I quadrupled the stack limit, just in case it was stack related, but this didn't make any difference. most other settings are unlimited. I'm miles away from 32 bit limit's here by the looks of it.
How can I track down where the problem really is?
Re: Opengl throws std::bad_alloc - but why?
I don't think OpenGL ever throws C++ exceptions, so it must be GTKMM doing it. Can you get a backtrace where the exception is thrown? If you'd like somebody to take a look, please attach a standalone test case that reproduces the problem.
|All times are GMT -5. The time now is 12:43 AM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.