[Interest] bad_alloc raised : Amout of RAM available ?

qt.dantec at free.fr qt.dantec at free.fr
Mon Jul 8 14:20:09 CEST 2013


Using 4.8 under windows / mingw, I catch a std::bad_alloc exception
raised somewhere, that I do not seem to have raised. At that point,
there is still 66% of system memory available according to windows.

1) Is there a Qt way to programmatically monitor the amount of RAM yet
available to the current process ?

2) Is there a standard way to debug this, in order to find where the
exception was raised ?

Quentin



More information about the Interest mailing list