啟用鏈接器開關 LARGEADDRESSAWARE
The /LARGEADDRESSAWARE option tells the linker that the application can handle addresses larger than 2 gigabytes. In the 64-bit compilers, this option is enabled by default. In the 32-bit compilers, /LARGEADDRESSAWARE:NO is enabled if /LARGEADDRESSAWARE is not otherwise specified on the linker line.
在 Visual Studio 開發環境中設置此鏈接器選項
打開項目的“屬性頁” 對話框。?有關詳細信息,請參閱 Visual Studio 中的設置 c + + 編譯器和生成屬性 。
單擊鏈接器文件夾。
單擊系統屬性頁。
修改啟用大地址屬性。
參考鏈接
/cefsharp/CefSharp/issues/1348
/en-us/cpp/build/reference/largeaddressaware-handle-large-addresses?view=vs-2019