Open
Description
NWJS Version : v0.54.0-sdk
Operating System : MacOS 11.4
Expected behavior
nwjs Helper (Renderer) not using more and more memory each refresh.
Actual behavior
with each refresh through the devTools the nwjs renderer process is using more memory according to the MacOS Activity Monitor.
How to reproduce
The setup is super simple. The issue seems to lay somewhere in the --mixed-context
because without the flag I am not seeing a memory leak.
package.json:
{
"name": "nw-memory-leak",
"version": "1.0.0",
"description": "",
"main": "index.html",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"chromium-args": "--mixed-context"
}
index.html:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>test</title>
</head>
<body>
</body>
</html>