Hi, Jan,

We are adding a set of scope guards <http://www.ddj.com/cpp/184403758> 
to see if we can address the issue in a more systematic way.  We are 
doing some testing now and will check in the code as soon as we are 
done with the testing.

John


On 6/14/2010 10:53 AM, Krivanek, Jan wrote:
> When I called FastBit queries form code that was running in infinite
> loop (and executing requested queries), I eventually end up (bad_alloc)
> exceptions in FileManager and huge amount of consumed memory. I tried to
> track the problem down and found that exceptions from fileManager are
> not caught on some places in code and so memory remains consumed. I
> tried to fix the problem in
>
> ibis::table::select(const std::vector<const ibis::part*>& mylist, const
> char *sel, const ibis::qExpr *cond)
>
> function that was being called by wrapping calls to
> ibis::util::addIncoreData and final groupby() in try-catch and releasing
> local buffers when exception throw. Fixing of this partially resolved
> the issue, but I am still resolving this as some significant amount of
> memory still remains unreleased and program still eventually fails.
>
> Thank you
>
> Jan Krivanek
>
>
>
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to