Re: [eigen] HELP : bad_alloc

[ Thread Index | Date Index | More Archives ]

My first guess is that you are trying to allocate more memory than what you can get, so when allocating you get such a signal.
Can you post the part of the code where you get that error? You may also get a quicker answer if you try to debug your program (e.g. gdb for g++)


On Thu, Jun 28, 2012 at 11:56 PM, Gaurav Gupta <gaurav71531@xxxxxxxxx> wrote:
I am getting this error on running my code : 
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

What is the reason?

Mail converted by MHonArc 2.6.19+