author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 06 Jul 2012 09:00:30 +0200 | |
changeset 8448 | c5fff93d3a1c |
parent 8446 | cae198371548 (current diff) |
parent 8447 | 4fb20c09017a (diff) |
child 8449 | cc83a3f16c0f |
--- a/server/checkintegrity.py Wed Jul 04 11:01:51 2012 +0200 +++ b/server/checkintegrity.py Fri Jul 06 09:00:30 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()