Open WalkingGlitch opened 1 month ago
Can you confirm the memory usage during import? We are facing a similar issue at #97610
I was able to reproduce the issue in Arch Linux with a build at commit 06d51891678e3abf360d6fcd2e8bd1ba96704fcc.
I was also able to import all the assets successfully after setting Editor/Import/Use Multiple Threads
to false in the Project Settings.
There may be a race condition somewhere in the import process.
Getting the same error.
Adding
[editor]
import/use_multiple_threads=false
on project.godot
did not work for me.
RAM memory usage below 800 MB while importing assets.
Windows 11
CPU
AMD Ryzen 5 1600 Six-Core Processor
Base speed: 3.20 GHz
Sockets: 1
Cores: 6
Logical processors: 12
Virtualisation: Enabled
L1 cache: 576 KB
L2 cache: 3.0 MB
L3 cache: 16.0 MB
Memory
32.0 GB
Speed: 2666 MT/s
Slots used: 2 of 4
Disk 1 (C:)
WALRAM 1TB
Capacity: 932 GB
Formatted: 932 GB
System disk: Yes
Page file: Yes
Type: SSD
Read speed 32.8 KB/s
Write speed 4.1 KB/s
Active time 0%
Average response time 0.6 ms
GPU 0
AMD Radeon RX 580 2048SP
Driver version: 31.0.21018.5001
Driver date: 25/07/2023
DirectX version: 12 (FL 12.0)
Tested versions
Reproducible in Godot Engine v4.3.stable.flathub.77dcf97d8. This also occurs on the 4.3 Steam release as well. This did not occur in the 4.2.1 release.
EDIT: It does occur in the 4.2.2 release on Steam, but instead of crashing, it becomes unresponsive while maxing my CPU cores. I let it run for 25 minutes, and it was still unresponsive. This is on an AMD 5800X3D, so it's unlikely that I killed it too soon.
System information
MX Linux 23.3 6.9.12-2-liquorix-amd64
Issue description
Importing a large directory of assets causes a crash when the editor attempts to import and index them. To give an idea: 79926 items (76209 files, 3716 folders) 643.0 MiB (674,255,333 bytes)
I get the following output from the terminal running it with the --verbose flag:
It also keeps the focus of my terminal emulator despite the process having completely crashed and no longer having a PID. I have to CTRL+C to escape it.
Steps to reproduce
I have put a download of a 7zip archive of the asset directory that causes the crash in the MRP.
Minimal reproduction project (MRP)
MRP.zip
Asset directory: https://mega.nz/file/eyhBkBAK#mDAghej8jNCh62ZaKzWqSq0xJ8flDerRUHCUPDx4zUY
Please only download this if you are actually working on the troubleshooting, I have limited bandwidth allotment for this.