New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Growing node.exe memory #9
Comments
@nocelab can you share the code? I didnt notice anything like that when testing. |
this is sample code (Windows 10 with OpenJDK 8u222-b10): HBrowser hBrowser = new HBrowser();
PlaywrightWindow hb = hBrowser.openCustomWindow().headless(false).buildPlaywrightWindow();
for (int i = 0; i < 100; i++) {
hb.load("www.google.it");
hb.fill("[aria-label=\"Cerca\"]", "searching something");
hb.holdKey("Tab");
// click and wait...
hb.getJsContext().executeJavaScript(""+
"await Promise.all([\n"+
" page.click(':nth-match(:text(\"Cerca con Google\"), 2)'),\n"+
" page.waitForNavigation()\n"+
"]);");
System.out.println(hb.getOuterHtml().text());
}
hb.close(); and this is memory graph of node.exe process: |
Ok... I'am happy! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, in Windows machine I'm testing a loop with 2
load
method with Playwright browser and I note that the processnode.exe
still grow without ever release.Is it correct? Is there some trick to release it?
The text was updated successfully, but these errors were encountered: