Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当文件夹内文件太多时会产生 OOM. #44

Open
slanterns opened this issue Oct 13, 2019 · 2 comments
Open

当文件夹内文件太多时会产生 OOM. #44

slanterns opened this issue Oct 13, 2019 · 2 comments
Assignees
Labels
BUG!!! Something isn't working
Milestone

Comments

@slanterns
Copy link

版本: Build_201910032106

在一个大约有 4000 个文件的文件夹内进行试验:

2019年10月14日 00:52:43 - 产生了异常。
异常提示信息:引发类型为“System.OutOfMemoryException”的异常。
异常堆栈信息:   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   在 System.Activator.CreateInstance(Type type, Object[] args)
   在 TagLib.File.Create(IFileAbstraction abstraction, String mimetype, ReadStyle propertiesStyle) 位置 C:\code\taglib-sharp\src\TaglibSharp\File.cs:行号 1297
   在 TagLib.File.Create(String path) 位置 C:\code\taglib-sharp\src\TaglibSharp\File.cs:行号 1110
   在 ZonyLrcToolsX.Infrastructure.MusicTag.TagLib.MusicInfoLoaderByTagLib.Load(String musicFilePath)
   在 ZonyLrcToolsX.Infrastructure.MusicTag.TagLib.MusicInfoLoaderByTagLib.LoadAsync(String musicFilePath)
   在 ZonyLrcToolsX.Forms.MainForm.<>c__DisplayClass8_0.<<ToolStripButton_SearchMusicFile_Click>b__0>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

尝试将其分成两个文件夹每个约 2000 首试验,确定可以工作。(不知道这个是可以修复的还是只能给个提示)

@real-zony real-zony self-assigned this Oct 15, 2019
@real-zony real-zony added the BUG!!! Something isn't working label Oct 15, 2019
@real-zony real-zony added this to the 1.0 milestone Oct 15, 2019
@real-zony
Copy link
Owner

该问题会在 1.0 测试版再次进行验证。

@slanterns
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG!!! Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants