Is there a way of disposing of worker processes and having them recreated?
We’re doing some extensive processing in workers and they work quite well. We also have a niggling memory leak that can accumulate over the processing of many thousands of items, causing workers RAM use to grow over time. In a server-type situation it’s worrying.
We’re working on stomping out the leak, but in the meantime it would be great if we could dispose of them periodically and have them respawn. Nothing we’ve attempted causes the workers themselves to disappear…
any ideas?
4 posts - 3 participants