[Interest] bad_alloc raised : Amout of RAM available ?

Иван Комиссаров abbapoh at gmail.com
Mon Jul 8 14:40:59 CEST 2013


You can tell you debugger to break when an exception is thrown. So, the easiest way is to debug you app.

Иван Комиссаров

08.07.2013, в 16:20, qt.dantec at free.fr написал(а):

> 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