Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Optimization
- salvadordf
- Posts: 4374
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Optimization
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
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
Are there any special requirements for windows? On windows server 2012-2016, it does not work correctly. (((
- salvadordf
- Posts: 4374
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Optimization
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
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
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
ps.
windows server 2012-2016 VPS
Re: Optimization
JS Alert
"No Internet connection. Check your connection and try again."
"No Internet connection. Check your connection and try again."
- salvadordf
- Posts: 4374
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Optimization
That's really weird...
Can you replicate the problem with the official CEF sample application?
Can you replicate the problem with the official CEF sample application?
Re: Optimization
How? Open one page?salvadordf wrote: ↑Tue Jun 19, 2018 7:15 pm That's really weird...
Can you replicate the problem with the official CEF sample application?
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
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..
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..
- salvadordf
- Posts: 4374
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Optimization
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.
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.