Re: [eigen] HELP : bad_alloc

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen 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++)

------------------------------------------
Carlos



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
Aborted

What is the reason?



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/