Why do I get "out of memory" errors frequently?

0 votes
asked by about Comic Converter

enter image description here

I have used this program for converting batch images into .cbz format, which works for the most part. However, when trying to convert a .pdf, the program hangs about halfway then gives me a "out of memory" error. I've just run this after startup, when there's little to nothing taxing 16gb of RAM, so i'm unsure whether it's something on my end (i've tried running the installer And the executable as admin), or a stack overflow issue within the code itself. This does happen if I try to convert one file after another, as well.

I'd love to hear some feedback as to whether this is a minor issue or something that's been noted before, as this has been happening since I found this a year or two ago. Thanks!!

Error log:

** Exception Text ** System.OutOfMemoryException: Out of memory. at System.Drawing.Bitmap..ctor(String filename) at ComicConverter.frmComicConverter.ResizeImage(String strIn, String strOut, ImageFormat format, Int32 width, Int32 height, Boolean aspect, InterpolationMode mode) at ComicConverter.frmComicConverter.butConvert_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: 2.0.0.0 Win32 Version: 2.0.50727.9148 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

ComicConverter Assembly Version: 2.0.0.0 Win32 Version: 2.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Jonty%20Lovell/Comic%20Converter/ComicConverter.exe

Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.9136 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9147 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

SevenZipSharp Assembly Version: 0.64.3890.29348 Win32 Version: 0.64.3890.29348 CodeBase: file:///C:/Program%20Files%20(x86)/Jonty%20Lovell/Comic%20Converter/SevenZipSharp.DLL

PDFLibNet Assembly Version: 1.0.6.6 Win32 Version: CodeBase: file:///C:/Program%20Files%20(x86)/Jonty%20Lovell/Comic%20Converter/PDFLibNet.DLL

msvcm90 Assembly Version: 9.0.30729.9619 Win32 Version: 9.00.30729.9619 CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9619_none_508d9c7abcbd32b6/msvcm90.dll

System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

1 Answer

0 votes
No avatar answered by (117k points)

The frequent "out of memory" errors you are experiencing with the Comic Converter program can be caused by various factors. It could be due to limited memory resources on your computer, a stack overflow issue within the program's code, or a compatibility problem when converting certain file types. It's recommended to check if there are any updates or patches available for the program, try converting smaller batches or different file formats, and ensure that your computer has enough available memory for the conversion process.

0 votes
answered by

I have the same problem. I managed to convert a pdf file, my PC memory is OK, I killed everything that could "eat" it but for most files that I try to convert I get the "Out of memory" error. Here is the log:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.OutOfMemoryException: Out of memory. at System.Drawing.Bitmap..ctor(String filename) at ComicConverter.frmComicConverter.ResizeImage(String strIn, String strOut, ImageFormat format, Int32 width, Int32 height, Boolean aspect, InterpolationMode mode) at ComicConverter.frmComicConverter.butConvert_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: 2.0.0.0 Win32 Version: 2.0.50727.9179 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

ComicConverter Assembly Version: 2.0.0.0 Win32 Version: 2.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/Jonty%20Lovell/Comic%20Converter/ComicConverter.exe

Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.9149 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9176 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9176 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

SevenZipSharp Assembly Version: 0.64.3890.29348 Win32 Version: 0.64.3890.29348 CodeBase: file:///C:/Program%20Files%20(x86)/Jonty%20Lovell/Comic%20Converter/SevenZipSharp.DLL

PDFLibNet Assembly Version: 1.0.6.6 Win32 Version: CodeBase: file:///C:/Program%20Files%20(x86)/Jonty%20Lovell/Comic%20Converter/PDFLibNet.DLL

msvcm90 Assembly Version: 9.0.30729.9625 Win32 Version: 9.00.30729.9625 CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9625_none_508ef7e4bcbbe589/msvcm90.dll

System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9153 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.9149 (WinRelRS6.050727-9100) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.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.

Anything I can do? Thanks.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...