hunt-framework / hunt

A flexible, lightweight search platform
59 stars 10 forks source link

Interpreter: Potentially high memory usage with LoadIx #58

Closed ulfsauer0815 closed 10 years ago

ulfsauer0815 commented 10 years ago

execLoad uses the XMVar functions directly. The old index is kept in memory to allow non-blocking access so that both the new and the old indexes are held in memory until the new one is loaded and the old one is not used anymore.

Locking may be better in this case.