-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Memory leak - version 3.9.0 #695
Comments
do you have minimal sample to let me reproduce this? |
This is the demo that I used:
|
@Jin9628 |
to see code like this makes me sad ;-)
Maybe you can improve your code (or give me a hint about what is missing). Serializing the page back to xml and then parse it again is not soo efficient. |
yeah,I will improve my code. But I think it can't help me solve the problem |
@Jin9628 do you have also an url for your sample to let me debug this here? |
This is an example I found, you can debug this: |
@rbri Sorry,have you made any progress? |
@Jin9628 sorry, i wrote a small test program that fetches the page and did this in a loop for 20min. But i can't see any memory leak - the profiler shows no growing in memory. Maybe you can provide a small test program? |
@Jin9628 can you please try the latest release and report your results |
I encountered a problem, I used version 2.70.0 and found "com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory$TimeoutContext
net.sourceforge.htmlunit.corejs.javascript.Interpreter$CallFrame
net.sourceforge.htmlunit.corejs.javascript.ConsString” takes up almost 5G of memory. when I set webClient.getOptions().setJavaScriptEnabled(false), I don't hava this problem. I also tried the latest version 3.9.0 , but it doesn't work.
The text was updated successfully, but these errors were encountered: