Server Settings Lost After Windows Tomcat Restart with Low Disk Space

All,
I’m new to running Lucee on Windows. I’ve experienced this odd behavior twice. I’ve installed Lucee on the D: drive. Our web developers are finally testing out our apps on a test server. Because of this, the tomcat logs have been growing which is understandable. So here’s the issue - when the D: drive gets low on disk space (only a few MB’s available) and the Apache Tomcat 9.0 Lucee service is restarted, I lose all of my Lucee server configuration settings (admin pswd, datasources, settings, mappings, etc.).

This morning, I found that the “D:\lucee\tomcat\lucee-server\context\lucee-server.xml” file is what has these settings. So why is this file reverting to a fresh install when the Apache service is restarted with low disk space? This doesn’t happen when the service is restarted with enough free disk space. Sure, I can make my partition bigger. But I can’t guarantee that the log files will never grow out of control.

Why is this happening?

OS: Windows 2019
Java Version: OpenJDK 11.0.7
Tomcat Version: 9.0
Lucee Version: 5.3.7.47