Re: query memory problem

2001-10-25 Thread Sinisa Milivojevic
Elm Gysel writes: > Hello, > > I have a memory problem when added records to a table. > The situation is like this (simplyfied) : > > query << "select id, symbol from " << STOCKS_TABLE_NAME << std::ends; > std::vector symbols; > query.storein(symbols); > std::vector::iterator I; > for(I = symbol

Re: query memory problem

2001-10-25 Thread Bill Adams
Elm Gysel wrote: >/* perform query */ >query.execute(nr, Date.str(), Op, Hi, Lo, Cl, Vo); > The problem is in the above line I think. If I comment it out the memory > usage doesn't explode. > I get around 1.5MB more mem usage each time I insert 2000 records. > I have no clue what

query memory problem

2001-10-24 Thread Elm Gysel
Hello, I have a memory problem when added records to a table. The situation is like this (simplyfied) : query << "select id, symbol from " << STOCKS_TABLE_NAME << std::ends; std::vector symbols; query.storein(symbols); std::vector::iterator I; for(I = symbols.begin(); I != symbols.end(); I++) {