List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:December 24 2010 3:26am
Subject:Re: 'vector<mysqlpp::row> v;' is crashing my program.
View as plain text  
On Thu, Dec 23, 2010 at 07:12:45PM -0800, Eric Sepich wrote:
> The following segment is crashing my program. I am returning 299,000 rows or
> so. When I run the program the command prompt states "Killed.". I really
> need this to work. What can I do?
> 
>           Query queryb = conn.query();
>           vector<mysqlpp::Row> v;
>           queryb << "SELECT * FROM sports_schedule";
>           queryb.storein(v);
>           cout << v.size() << endl;

Are you running out of memory?  How much memory is needed to store
one row in memory?

- Chris

Thread
'vector<mysqlpp::row> v;' is crashing my program.Eric Sepich24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Chris Frey24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Warren Young24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Tomalak Geret'kal24 Dec
    • Re: 'vector<mysqlpp::row> v;' is crashing my program.Adrian Cornish24 Dec
Re: 'vector<mysqlpp::row> v;' is crashing my program.Adrian Cornish24 Dec
Re: 'vector<mysqlpp::row> v;' is crashing my program.Adrian Cornish24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Mengmeng Zhang24 Dec
Re: 'vector<mysqlpp::row> v;' is crashing my program.Mengmeng Zhang24 Dec
  • Re: 'vector<mysqlpp::row> v;' is crashing my program.Adrian Cornish24 Dec