-
Notifications
You must be signed in to change notification settings - Fork 10
Description
We’ve been using Toffee (version 0.1.3) for a project and struggled with a significant memory leak. An outside consultant (@thlorenz) helped us track down the memory leak and it turned out to originate within Toffee, specifically its file watching mechanism and pool for VM contexts. Due to time constraints, we couldn’t test the latest version (although it does seem to contain both offending parts: file watching and Pool) and had to patch our 0.1.3 version.
At this point, all I can share is our admittedly very invasive patch for containing the problem: WeTransferArchive/toffee@master...memory-leak-fix
Long-term, if we decide to upgrade Toffee, re-investigate the leak and fix it properly, we’ll share our findings but we’re also considering alternative templating languages.