nhoizey’s avatarnhoizey’s Twitter Archive—№ 104,408

  1. Trying to develop a Node module that would help people who struggle with responsive images, but I’ve got a big memory issue… 😭 Here’s a test: github.com/nhoizey/images-responsiver/blob/master/examples/99_memory_leak/run.js I guess I’m not freeing memory enough but I don’t know how to make it better. That’s my first Node module. 😅
    1. …in reply to @nhoizey
      I guess using jsdom instead of regexes is a good idea, but it looks like it uses a looooot of memory… 😢