PEATDB/Base.py
def _checkMemCache(self):
        """Need to check the memory isn't being overloaded
           Call this when addressing lots of recs serially, eg. inside getitem
           not very fine grained"""
        if self.db.cacheSize() > self.meta.info['cachesize']:
            self.db.cacheMinimize()
        return
Need to check the memory isn't being overloaded
           Call this when addressing lots of recs serially, eg. inside getitem
           not very fine grained
Need to check the memory isn't being overloaded
Call this when addressing lots of recs serially, eg. inside getitem
not very fine grained
Need to check the memory isn ' t being overloaded Call this when addressing lots of recs serially eg . inside getitem not very fine grained
def _checkMemCache(self):
        if self.db.cacheSize() > self.meta.info['cachesize']:
            self.db.cacheMinimize()
        return
def _checkMemCache ( self ) : if self . db . cacheSize ( ) > self . meta . info [ 'cachesize' ] : self . db . cacheMinimize ( ) return
Need to check the memory isn't being overloaded
Call this when addressing lots of recs serially, eg.
Need to check the memory isn ' t being overloaded Call this when addressing lots of recs serially eg .
"""Need to check the memory isn't being overloaded
           Call this when addressing lots of recs serially, eg. inside getitem
           not very fine grained"""
self