Can someone please help me with this, I am stuck for now two days. I get the following error
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
I have a map, with a ulong key and a structure having three ulongs as the value. It works fine for smaller data sets and using the top command I see that the memory usage is stable around 5% but with a slightly large input step it eats up all of the memory and crashes. Can you please help, its a huge codebase and I am not sure how I can paste the code here, sorry about that
Awaiting a response
Thanks