-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got 'Insufficient system resources exist to complete the requested service' while building Store version of application #10162
Comments
@0xNima can you try adding |
@JaynieBai - let's try to repro in VS build with the repo given by customer |
Repro that and get the following binlog CentralNode_devenv_PID=8416_x64_BuildManager_Default_0.binlog.txt |
Is it possible to pass this switch from Visual Studio? Because I don't build the solution from the command line. I added |
Yes - set the following to 1: |
It works like a charm. It was set to 20 processors. Thank you, Jan |
Thanks @0xNima for confirming. By defult it uses number of available logical processors. In some specific cases it can stress the resources, but normally it should increase throughput of your build - so I'd suggest changing it back for other builds. In any case we should still followup internally on the reason for this (@JaynieBai is looking into collecting memory analysis) |
Issue Description
Hello folks, When I tried to build the Store (MSIX) version of Telegram Desktop application in VS 2022, my build failed with the following logs:
Steps to Reproduce
1- install and build the solution according to instructions
2- Add a new
Windows Application Packaging Project
to the solution named store-release and config package name, icons, and etc.3- Right Click on store-release and select Publish -> Create App Packages...
4- set Version, Architecture (x64), and Solution Configuration (Release x64)
5- click on Create button
Actual Behavior
UNHANDLED EXCEPTIONS FROM PROCESS 18684:
Analysis
I'm not sure if this problem is merely related to resources, because CPU and RAM usage never hit the limits. I tried to stop some
Event Trace Sessions
in thePerformance Monitoring
window but it didn't help.Note that I can build the solution successfully from Build -> Build Solution. The problem occurs when I try to build the app from Publish -> Create App Packages....
Versions & Configurations
the output of
msbuild -version
:MSBuild version 17.9.8+b34f75857 for .NET Framework
17.9.8.16306
Machine's configurations:
Processor: 13th Gen Intel(R) Core(TM) i7-13650HX 2.60 GHz - 14 cores, 20 logical processors RAM: 32.0 GB
OS: Windows 11 Home
The text was updated successfully, but these errors were encountered: