Open
Description
A potential memory leak issue was reported to me by a user of the WEBMIDI.js library. This library uses jzz
in the Node.js environment to emulate the Web MIDI API.
Based on the info reported by the user, I ran the following script to troubleshoot the problem:
const express = require('express');
const navigator = require('jzz');
// jzz
navigator.requestMIDIAccess({sysex: true}).then(
() => console.log("MIDI Started"),
() => console.log("MIDI Failed"),
);
// express
const app = express();
app.post('/test', (req, res) => {
res.json({ success: `Yeah!` });
});
app.use(express.json());
app.listen(3001, () => console.log("Express Listening..."));
After 2 hours, memory usage went from 19MB to 40MB. Is it possible that there is a memory leak in jzz
?
Metadata
Metadata
Assignees
Labels
No labels