Page 2 of 2

Re: Optimization

Posted: Tue Jun 12, 2018 10:19 am
by salvadordf
CloseBrowser is the first step in the browser destruction sequence. I assume you follow all the steps described in the code comments.

However, even if you follow all those steps you will see that the cache elements are still in memory (assuming you don't use a disk cache).

I guess that Chromium will keep some connections alive just in case you create a new browser to the same server and the memory management will eventually return the unused memory to Windows.

Read the Chromium design documents for more details :
http://www.chromium.org/developers/design-documents

Re: Optimization

Posted: Tue Jun 19, 2018 6:21 pm
by dilfich
Are there any special requirements for windows? On windows server 2012-2016, it does not work correctly. ((( :?

Re: Optimization

Posted: Tue Jun 19, 2018 6:39 pm
by salvadordf
Could you describe the problem?

CEF3 based applications should work on Windows 7, 8, 8.1, 10 but also on Windows server 2008 R2 and newer versions.
Make sure your Windows user has enough privileges and the browser is not trying to use read-only directories.

Try the official CEF sample application on that machine :
http://opensource.spotify.com/cefbuilds ... nt.tar.bz2

Re: Optimization

Posted: Tue Jun 19, 2018 7:03 pm
by dilfich
The problem occurs not too often but it's there. Briefly lost Internet connection, it is in the application only. Administrator rights, this is no problem. On windows 10, no such problems.
ps.
windows server 2012-2016 VPS

Re: Optimization

Posted: Tue Jun 19, 2018 7:08 pm
by dilfich
JS Alert
"No Internet connection. Check your connection and try again."

Re: Optimization

Posted: Tue Jun 19, 2018 7:15 pm
by salvadordf
That's really weird...

Can you replicate the problem with the official CEF sample application?

Re: Optimization

Posted: Tue Jun 19, 2018 7:44 pm
by dilfich
salvadordf wrote: Tue Jun 19, 2018 7:15 pm That's really weird...

Can you replicate the problem with the official CEF sample application?
How? Open one page? :shock:
The app opens and closes hundreds of pages one by one. And the problem on windows server, on windows 10 such problem is not present.

Re: Optimization

Posted: Tue Jun 19, 2018 7:52 pm
by dilfich
Sorry.
Forgot to say that the program works through a proxy, perhaps this is the problem. But it is still not clear on another windows with these proxies no problems...
Disabled proxy and the problem disappeared..
Why windows server is the problem.. :(

Re: Optimization

Posted: Wed Jun 20, 2018 7:50 am
by salvadordf
I can only suggest you to try a different proxy server.

This seems to be a network problem, windows configuration problem or maybe that VPS service is blocking that traffic after a while.
There are many google results about lost connections in windows when the users have a proxy.