If you fire requests to this endpoint, you can see the memory of the node process growing until it gets out of memory. In my case I used docker stats to observe the container memory usage.
The issue does not appear, if the converter was instantiated once at the same level as express().
In some use-cases, a global converter object might not be accessible. How can the instance be destroyed properly after usage?
Hi, seems there appears a memory leak, if the converter was instantiated inside the request function.
If you fire requests to this endpoint, you can see the memory of the node process growing until it gets out of memory. In my case I used
docker stats
to observe the container memory usage.The issue does not appear, if the converter was instantiated once at the same level as
express()
.In some use-cases, a global converter object might not be accessible. How can the instance be destroyed properly after usage?