[Interest] Retrieving the object info due to exception std::bad_alloc
Thiago Macieira
thiago.macieira at intel.com
Thu Mar 1 00:51:34 CET 2018
On Wednesday, 28 February 2018 15:23:22 PST Konstantin Tokarev wrote:
> bad_alloc is mostly thrown due to too view memory for the request in
> question.
> > so when you continue your program, chances are good to see more
> > bad_allocs.
>
> Or don't get any bad_alloc at all, being killed by OOM Killer promptly
You get bad_alloc when you make silly requests, like negative sizes or
petabytes.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list