473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

std9bad_alloc

9
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
Jan 18 '07 #1
0 1335

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.