I manage a small fleet of about 200 desktops. I’ve been running into an issue where remote desktop stops working on some of them until I reboot the machine. Most of them are headless, so it’s been tough to narrow down the issue.<\/p>\n
I picked out one and hooked it up to a monitor and it finally broke for me, this is the error I see:<\/p>\n
“LogonUI.exe - System Error”<\/p>\n
“The process has terminated because it could not allocate additional memory.”<\/p>\n
While I have the machine in this state, I’m trying to find out what I can about it remotely before I reboot it. Based on the error I checked the amount of physical memory in use, but it was less than 30%. However, nearly all of the virtual memory is in use (only 21MB free out of 65GB).<\/p>\n
Normally I run a tool like RAM map to see what’s hogging the memory but I’m not sure how to find that info out remotely.<\/p>\n
Anyone come across something similar? I’m wanting to see if one of the applications running on the system is causing this.<\/p>","upvoteCount":3,"answerCount":10,"datePublished":"2025-04-04T21:40:05.534Z","author":{"@type":"Person","name":"brianhenson","url":"https://community.spiceworks.com/u/brianhenson"},"acceptedAnswer":{"@type":"Answer","text":"
Looks like I found what’s actually going on. As suspected, there appears to be a memory leak. In this case there are 3 or 4 different processes that appear to be experiencing abnormally high memory usage. Unfortunately, they’re all business critical. So I’m going to have to work with the lab compute team. Either way, marking this resolved.<\/p>","upvoteCount":1,"datePublished":"2025-06-17T21:46:49.480Z","url":"https://community.spiceworks.com/t/logon-ui-error-out-of-memory/1193358/10","author":{"@type":"Person","name":"brianhenson","url":"https://community.spiceworks.com/u/brianhenson"}},"suggestedAnswer":[{"@type":"Answer","text":"
I manage a small fleet of about 200 desktops. I’ve been running into an issue where remote desktop stops working on some of them until I reboot the machine. Most of them are headless, so it’s been tough to narrow down the issue.<\/p>\n
I picked out one and hooked it up to a monitor and it finally broke for me, this is the error I see:<\/p>\n
“LogonUI.exe - System Error”<\/p>\n
“The process has terminated because it could not allocate additional memory.”<\/p>\n
While I have the machine in this state, I’m trying to find out what I can about it remotely before I reboot it. Based on the error I checked the amount of physical memory in use, but it was less than 30%. However, nearly all of the virtual memory is in use (only 21MB free out of 65GB).<\/p>\n
Normally I run a tool like RAM map to see what’s hogging the memory but I’m not sure how to find that info out remotely.<\/p>\n
Anyone come across something similar? I’m wanting to see if one of the applications running on the system is causing this.<\/p>","upvoteCount":3,"datePublished":"2025-04-04T21:40:05.593Z","url":"https://community.spiceworks.com/t/logon-ui-error-out-of-memory/1193358/1","author":{"@type":"Person","name":"brianhenson","url":"https://community.spiceworks.com/u/brianhenson"}},{"@type":"Answer","text":"
It’s possible there is a memory leak, but if you’re getting errors with applications, start by looking at the event logs and gathering soe info.<\/p>\n
It might also help us, to help you if you note the spec of these devices, with 65GB of swap, I’m expecting 16GB or 32GB of memory, otherwise there is a bigger issue if swap is that size.<\/p>\n
What OS and applications do these machines run?<\/p>","upvoteCount":2,"datePublished":"2025-04-04T22:40:48.462Z","url":"https://community.spiceworks.com/t/logon-ui-error-out-of-memory/1193358/2","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"
Yes the hosts typically have 16-32GB of memory. They’re all running Windows 10 1809 LTSC enterprise.<\/p>\n
They’re running crowdstrike for AV and a number of debugging tools.<\/p>\n
As a test, I’m going to try disabling the paging file on this one particular host since no one is using it. Maybe I can gain some insights that way.<\/p>","upvoteCount":1,"datePublished":"2025-04-04T22:45:56.720Z","url":"https://community.spiceworks.com/t/logon-ui-error-out-of-memory/1193358/3","author":{"@type":"Person","name":"brianhenson","url":"https://community.spiceworks.com/u/brianhenson"}},{"@type":"Answer","text":"
You should still have event logs from previous. If you can grab one of those it may help us.<\/p>","upvoteCount":1,"datePublished":"2025-04-04T22:48:06.747Z","url":"https://community.spiceworks.com/t/logon-ui-error-out-of-memory/1193358/4","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"
I don’t think I can share the event logs themselves, too much proprietary info.<\/p>\n
This appears to be when the logonui crashed:<\/p>\n
\nFaulting application name: LogonUI.exe, version: 10.0.17763.1, time stamp: 0x5ab44f80
\nFaulting module name: Windows.UI.Xaml.dll, version: 10.0.17763.7009, time stamp: 0x01df9dee
\nException code: 0xc000027b
\nFault offset: 0x00000000004c8646
\nFaulting process id: 0x1114
\nFaulting application start time: 0x01db9b22adc27364
\nFaulting application path: C:\\WINDOWS\\system32\\LogonUI.exe
\nFaulting module path: C:\\Windows\\System32\\Windows.UI.Xaml.dll
\nReport Id: ab06afb0-60c3-4c46-9434-df7c66861ea5
\nFaulting package full name:
\nFaulting package-relative application ID:<\/p>\n<\/blockquote>\nAlso seeing several places in the system log about the paging file:<\/p>\n
\nThe Group Policy Client service failed to start due to the following error:
\nThe paging file is too small for this operation to complete.<\/p>\n<\/blockquote>\nNot just the Group Policy Client but several other services.<\/p>","upvoteCount":1,"datePublished":"2025-04-04T23:16:41.180Z","url":"https://community.spiceworks.com/t/logon-ui-error-out-of-memory/1193358/5","author":{"@type":"Person","name":"brianhenson","url":"https://community.spiceworks.com/u/brianhenson"}},{"@type":"Answer","text":"