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
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
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++) {