author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> |
Fri, 06 Jul 2012 08:59:28 +0200 | |
branch | stable |
changeset 8447 | 4fb20c09017a |
parent 8424 | 664d0bf525c8 |
child 8448 | c5fff93d3a1c |
child 8451 | 49e965bba1ec |
--- a/server/checkintegrity.py Wed May 23 16:01:26 2012 +0200 +++ b/server/checkintegrity.py Fri Jul 06 08:59:28 2012 +0200 @@ -136,6 +136,8 @@ for eschema in etypes: rset = session.execute('Any X WHERE X is %s' % eschema) source.fti_index_entities(session, rset.entities()) + # clear entity cache to avoid high memory consumption on big tables + session.drop_entity_cache() if withpb: pb.update()