Black screen building Debug x64 on Windows

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Black screen building Debug x64 on Windows

Postby ndesktop » Fri Apr 10, 2020 2:14 am

Starting with 3987, when building Debug|x64 on Windows 10, when lld-link arrives on "libcef.dll libcef.dll.pdb" phase, it remains cool (in the 10-30% zone of disk) for some 10, 20 minutes or so.
But suddenly the virtual memory is exhausted, Task Manager will not redraw, then dwm.exe stops (same cause, VM). Several other events are logged, such as:
Code: Select all
- Application popup: Windows - Out of Virtual Memory : Your system is low on virtual memory.
To ensure that Windows runs properly, increase the size of your virtual memory paging file. For more information, see Help.
- Application popup: Windows - Virtual Memory Minimum Too Low : Your system is low on virtual memory.
Windows is increasing the size of your virtual memory paging file. During this process, memory requests for some applications may be denied. For more information, see Help.

Then several services stops (Diagnostic Policy, Connected Devices, Clipboard etc.) - most of them are timing out, most likely due to vm exhaustion as well.
Win+Ctrl+Shift+B restarts the video (sometimes), I can see the mouse cursor dissapearing and reappearing, but dwm.exe is dead for good.

The only thing I can do then is to do a hardware restart. libcef.dll is not generated.

Pagefile settings:
- total RAM size: 32 GB
- performance adjust: for Programs
- total paging file size: 17408MB
- disks C:, D: - None; E: F: G: H: - System managed.

Disabled/stopped almost every service that could spare an ounce of memory, disable defender completely, even print spooler, Wifi cards, sync services, zeroconf, update etc.

Are there any limits that can be imposed to lld-link in the sense of "don't take more than 28 GB of 32 GB", or other strategies to overcome this?
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am

Re: Black screen building Debug x64 on Windows

Postby ndesktop » Fri Apr 10, 2020 6:25 am

For now I will try with is_win_fastlink=true for debug builds. Previous build (3904) succeeded with full symbol level, _HAS_ITERATOR_DEBUGGING=2.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am

Re: Black screen building Debug x64 on Windows

Postby magreenblatt » Fri Apr 10, 2020 11:32 am

magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Black screen building Debug x64 on Windows

Postby ndesktop » Fri Apr 10, 2020 12:11 pm

Yes, I know, but somehow I managed to build 3904 with full debug (_HAS_ITERATOR_DEBUGGING, level 2, fastlink on false).
I guess I hit the wall in 3987.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 64 guests