CEF windows msvc2019 debug build time/PC resources usage

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.

CEF windows msvc2019 debug build time/PC resources usage

Postby djdr0n » Tue May 12, 2020 8:02 am

Hi all)

Trying to build cef from source using automated method described in project wiki.

this command

Code: Select all
python automate-git.py --download-dir=src --branch=4044 --x64-build --force-build


Failed with "out of memory" on link stage:
Code: Select all
ninja: Entering directory `out\Debug_GN_x64'
[1/3] LINK(DLL) libcef.dll libcef.dll.lib libcef.dll.pdb


My PC have 32 Gb RAM and swap configured by system.

i've increased swap file first to 32G. same. 64G. same. 128, 256,512.. Now swap file is 736 Gb and linker process goes > 3 hours on Ryzen 5 3600.
lld-link eats 682 Gb of swap (commit size) and still increasing and still [1/3] LINK(DLL) libcef.dll libcef.dll.lib libcef.dll.pdb.

Is this normal?

cef_link_wtf.png
cef_link_wtf.png (32.57 KiB) Viewed 2406 times
djdr0n
Newbie
 
Posts: 4
Joined: Mon May 11, 2020 11:16 am

Re: CEF windows msvc2019 debug build time/PC resources usage

Postby magreenblatt » Tue May 12, 2020 11:07 am

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

Re: CEF windows msvc2019 debug build time/PC resources usage

Postby djdr0n » Tue May 12, 2020 11:15 am

magreenblatt wrote:See this issue.


Thanks!

Added
Code: Select all
set GN_DEFINES="is_component_build=true"

Before starting build.
Debug linked in 20 seconds.
djdr0n
Newbie
 
Posts: 4
Joined: Mon May 11, 2020 11:16 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 46 guests