[Xapian-discuss] Memory consume issue

chun yu yuchun_green at hotmail.com
Thu Mar 13 07:43:14 GMT 2008


Hi, all When there are many files to index, the Omindex continues to consume the memory and never to release till it stops which cause too much memory is occupied.  check the source code: follwing codes are found. // FIXME: this should be done by checking memory usage, not the number of    // changes.    // We could also look at:    // * mod_plists.size()    // * doclens.size()    // * freq_deltas.size()    //    // cout << "+++ mod_plists.size() " << mod_plists.size() <<    //     ", doclens.size() " << doclens.size() <<    //     ", freq_deltas.size() " << freq_deltas.size() << endl;    if (++change_count >= flush_threshold) {        flush_postlist_changes();        if (!transaction_active()) apply();    }Looks the author also noticed the memory usage.Could you please tell me the progress of the issue's fixing?  Thanks a lot!   
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


More information about the Xapian-discuss mailing list