Application throwing an out of memory error after attempting to open a m3u file
version 1.8.7.0 Build 10-25-2025
Platform: Windows 11 Pro, version 25H2 CPU: Intel Core i5 10310U Memory: 16GB
Steps to reproduce: Click top left button for file open dialog. File dialog opens. Select playlist.m3u file Click Open.
Program processes for while with cursor changing to spinning blue swirl (windows default)
Error message comes up stating Microsoft .NET Framework Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Exception of type 'System.OutOfMemoryException' was thrown.
A copy of the error details is attached below:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.SplitInternal(Char[] separator, Int32 count, StringSplitOptions options) at PlaylistEditor.Form1.ImportDataFile(String filename, Boolean append) at PlaylistEditor.Form1.OpenFile(Boolean append) at PlaylistEditor.Form1.button_open_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
PlaylistEditorIPTV Assembly Version: 1.8.7.0 Win32 Version: 1.8.7.0 CodeBase: file:///C:/Program%20Files%20(x86)/Isayso/PlaylistEditorTVSetup/PlaylistEditorIPTV.exe
System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System Assembly Version: 4.0.0.0 Win32 Version: 4.8.9321.0 built by: NET481REL1LAST_25H2_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9319.0 built by: NET481REL1LAST_25H2_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Hello, It is possible that the error is related to the m3u file itself. Can you give it to me? Thanks
Am 25. Oktober 2025 21:55:41 MESZ schrieb DFC72 @.***>:
DFC72 created an issue (Isayso/PlaylistEditorTV#84)
version 1.8.7.0 Build 10-25-2025
Platform: Windows 11 Pro, version 25H2 CPU: Intel Core i5 10310U Memory: 16GB
Steps to reproduce: Click top left button for file open dialog. File dialog opens. Select playlist.m3u file Click Open.
Program processes for while with cursor changing to spinning blue swirl (windows default)
Error message comes up stating Microsoft .NET Framework Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Exception of type 'System.OutOfMemoryException' was thrown.
A copy of the error details is attached below:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.SplitInternal(Char[] separator, Int32 count, StringSplitOptions options) at PlaylistEditor.Form1.ImportDataFile(String filename, Boolean append) at PlaylistEditor.Form1.OpenFile(Boolean append) at PlaylistEditor.Form1.button_open_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
PlaylistEditorIPTV Assembly Version: 1.8.7.0 Win32 Version: 1.8.7.0 CodeBase: file:///C:/Program%20Files%20(x86)/Isayso/PlaylistEditorTVSetup/PlaylistEditorIPTV.exe
System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System Assembly Version: 4.0.0.0 Win32 Version: 4.8.9321.0 built by: NET481REL1LAST_25H2_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9319.0 built by: NET481REL1LAST_25H2_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
-- Reply to this email directly or view it on GitHub: https://github.com/Isayso/PlaylistEditorTV/issues/84 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
I see a potential out of memory error with very large files. I will try to fix it.
Am 25. Oktober 2025 21:55:41 MESZ schrieb DFC72 @.***>:
DFC72 created an issue (Isayso/PlaylistEditorTV#84)
version 1.8.7.0 Build 10-25-2025
Platform: Windows 11 Pro, version 25H2 CPU: Intel Core i5 10310U Memory: 16GB
Steps to reproduce: Click top left button for file open dialog. File dialog opens. Select playlist.m3u file Click Open.
Program processes for while with cursor changing to spinning blue swirl (windows default)
Error message comes up stating Microsoft .NET Framework Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Exception of type 'System.OutOfMemoryException' was thrown.
A copy of the error details is attached below:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.String.SplitInternal(Char[] separator, Int32 count, StringSplitOptions options) at PlaylistEditor.Form1.ImportDataFile(String filename, Boolean append) at PlaylistEditor.Form1.OpenFile(Boolean append) at PlaylistEditor.Form1.button_open_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
PlaylistEditorIPTV Assembly Version: 1.8.7.0 Win32 Version: 1.8.7.0 CodeBase: file:///C:/Program%20Files%20(x86)/Isayso/PlaylistEditorTVSetup/PlaylistEditorIPTV.exe
System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System Assembly Version: 4.0.0.0 Win32 Version: 4.8.9321.0 built by: NET481REL1LAST_25H2_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9319.0 built by: NET481REL1LAST_25H2_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.8.9221.0 built by: NET481REL1LAST_25H2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
-- Reply to this email directly or view it on GitHub: https://github.com/Isayso/PlaylistEditorTV/issues/84 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
I see a potential out of memory error with very large files. I will try to fix it.
Am 25. Oktober 2025 21:55:41 MESZ schrieb DFC72 @.***>: …
You are probably right. The M3U file is ~350MB from an IPTV provider with a LOT of channels and categories. I can upload the file, but where would you like it put? DropBox?
As you can imagine, this is exactly why I am looking to edit the file so my AppleTV app doesn't choke on thousands of channels in categories that are not in my language or relevant to me...
Thanks for the info. I was just working on a solution for files up to 100mb which is not enough than. Problem is that because there is no definition of the used columns, I must detect the used tags of the fly. Now I use a string array for every line which is memory limited. Dropbox is fine, i guess I will need such a big file to test it.
Am 28. Oktober 2025 15:23:46 MEZ schrieb DFC72 @.***>:
DFC72 left a comment (Isayso/PlaylistEditorTV#84)
I see a potential out of memory error with very large files. I will try to fix it.
Am 25. Oktober 2025 21:55:41 MESZ schrieb DFC72 @.***>: …
You are probably right. The M3U file is ~350MB from an IPTV provider with a LOT of channels and categories. I can upload the file, but where would you like it put? DropBox?
As you can imagine, this is exactly why I am looking to edit the file so my AppleTV app doesn't choke on thousands of channels in categories that are not in my language or relevant to me...
-- Reply to this email directly or view it on GitHub: https://github.com/Isayso/PlaylistEditorTV/issues/84#issuecomment-3456713575 You are receiving this because you commented.
Message ID: @.***>