ventoy / PXE

The open source part of iVentoy.
455 stars 32 forks source link

Memory leak when using Symlink #71

Open Skynet19972029 opened 4 months ago

Skynet19972029 commented 4 months ago

Hello.

So, I added symlinks to the ISO folder (folders with folders and then ISOS inside of them), and Iventoy GUI crashed, and the process started chewing memory until my PC crashed.

This is the symlink used D:\Programas\Ventoy\iVentoy\iso\Windows to Symbolic Link: D:\Programas\Microsoft Windows

Otherwise, using a iso directly into the ISO folder, it works.

Inside of D:\Programas\Microsoft Windows I have way too many files, could it be the issue? log.txt

llbranco commented 2 months ago

same here (on Windows 10) I tried with the ISO folder in another location and the symbolic link in the iventoy folder and I tried the opposite too, leaving the original ISO folder inside iventoy and leaving the symlink in another place... even so I continue with intense CPU/RAM usage and iventoy does not boot... it does not matter if it is a junction or softlink.

d:\iso <-> d:\pxe\iventoy\iso d:\pxe\iventoy\iso <-> d:\iso

but the problem is not due to the symbolic link I solved it by removing the MacOS ISO/IMG/DMG from my iso folder and moving it to a separate folder...

somehow iventoy (apparently) gets into a loop trying to read the mac os images

but nevertheless it would be nice to have an option to ignore folders named "folder_off" or "off_folder" (like vercot serva) or any folders with an ".ignore" file inside.