# Unable to open file for editing when loading many (60k+) files

**URL:** <https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441>\
**Category:** Support\
**Created:** [February 22, 2022, 9:47pm UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441 "2022-02-22T21:47:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![esumsea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/esumsea/32/7219_2.png) [@esumsea](https://community.mp3tag.de/u/esumsea)\
**Post date:** [February 22, 2022, 9:47pm UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/1 "2022-02-22T21:47:12Z")

</div>

Hello,

I am trying to use MP3Tag to edit my whole iTunes library, which is over 80K+ and it crashed as the system ran out of memory. I tried again after lowering the RAM used by my caching software and MP3Tag loaded 63K+ files that I had on one media folder. When I tried to edit the files some would not allow me to write to the file. While this was occurring I tried changing tags in iTunes and had no problem changing tags on the same exact files.

I then loaded a subset of folders from the main folder, constituting 2500 files and MP3Tag had no problems editing the same files it would not write to before. So it seems this has to do with the amount of files loaded. This would not be a problem if I could load more files in batches, but unfortunately MP3Tag does not allow you to add multiple folders to a set already loaded, just one folder at a time.

I would love to load everything so I can tag whole albums which are broken up over different artists (I did not use VA before, but now want to use it for compilation albums). Hopefully I am doing something wrong. Please advise on how to circumvent this bug. Thanks!

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [February 22, 2022, 9:53pm UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/2 "2022-02-22T21:53:27Z")

</div>

Have you switched on the library function in File\>Options\>Library?

---

<div class="post-metadata">

**Author:** ![esumsea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/esumsea/32/7219_2.png) [@esumsea](https://community.mp3tag.de/u/esumsea)\
**Post date:** [February 22, 2022, 10:43pm UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/3 "2022-02-22T22:43:54Z")

</div>

No, I have not. That is a new one for me. I have to read up on how that functions. Thanks!

---

<div class="post-metadata">

**Author:** ![esumsea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/esumsea/32/7219_2.png) [@esumsea](https://community.mp3tag.de/u/esumsea)\
**Post date:** [February 23, 2022, 12:21am UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/4 "2022-02-23T00:21:32Z")

</div>

Here is the section I found on how to use this feature: [https://docs.mp3tag.de/customization/options/library](https://docs.mp3tag.de/customization/options/library)

I will try this out and report back.

I assume that if I follow these instructions: [Configure exclusions for files opened by specific processes | Microsoft Docs](https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/configure-process-opened-file-exclusions-microsoft-defender-antivirus?view=o365-worldwide)  
and enter mp3tag.exe as the value, and enable the exclusion, that I have done all I need to have all files opened by mp3tag.exe excludee from defender scans.

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [February 23, 2022, 5:05am UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/5 "2022-02-23T05:05:56Z")

</div>

> [@esumsea](#):
>
> This would not be a problem if I could load more files in batches, but unfortunately MP3Tag does not allow you to add multiple folders to a set already loaded, just one folder at a time.

You can add multiple folders to MP3Tag via the windows explorer or another suitable file manager.  
Just mark the folders in the explorer and drag them to MP3Tag while pressing CTRL.

---

<div class="post-metadata">

**Author:** ![esumsea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/esumsea/32/7219_2.png) [@esumsea](https://community.mp3tag.de/u/esumsea)\
**Post date:** [February 24, 2022, 5:14pm UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/6 "2022-02-24T17:14:13Z")

</div>

Ah, thanks! I don't know why I did not think of that. I kept dragging over and it would replace the files. It is only logical that pressing CTRL would add the tracks 🫢 Duh!! Thanks for introducing some oxygen into my old brain!

---

<div class="post-metadata">

**Author:** ![esumsea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/esumsea/32/7219_2.png) [@esumsea](https://community.mp3tag.de/u/esumsea)\
**Post date:** [February 24, 2022, 5:38pm UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/7 "2022-02-24T17:38:28Z")

</div>

I have enabled the Library option and things are working much more smoothly. Only one crash to report. Thanks ohremkino, once again, for your help!

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [February 24, 2022, 5:39pm UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/8 "2022-02-24T17:39:34Z")

</div>

If MP3tag crashes again, it would be worthwhile to see whether that happens always with the same files and then check those for consistency as suggested in the HowTos.

---

<div class="post-metadata">

**Author:** ![esumsea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/esumsea/32/7219_2.png) [@esumsea](https://community.mp3tag.de/u/esumsea)\
**Post date:** [February 24, 2022, 9:13pm UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/9 "2022-02-24T21:13:41Z")

</div>

Will do. It happened with processing a bunch of files overnight. I will keep an eye on it and report back if I find anything pertinent to add. Thanks again!

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [March 26, 2022, 9:13pm UTC](https://community.mp3tag.de/t/unable-to-open-file-for-editing-when-loading-many-60k-files/56441/10 "2022-03-26T21:13:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
