Page 1 of 1

Out of Memory Error

Posted: Mon Aug 10, 2020 2:20 pm
by drtech
Adding an image to an insurance claim produced this error after selecting an *.odt document from the images folder:
B/C it is not an "image?"

OD v20.1.33

Error Encountered - 08/10/2020 4:11:57 PM
Unhandled exception: Out of memory.
System.OutOfMemoryException
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at OpenDental.FormClaimAttachment.buttonAddImage_Click(Object sender, EventArgs e) in C:\SVN\beta\OpenDental\Forms\FormClaimAttachment.cs:line 190

Re: Out of Memory Error

Posted: Tue Aug 11, 2020 8:59 am
by joes
You are correct. The file can't be attached because it is not an image. When using the DentalXChange image attachment tool, valid file types are BMP, GIF, JPEG, PNG, and TIFF.

Re: Out of Memory Error

Posted: Fri Aug 14, 2020 8:49 am
by jordansparks
It should have told you so instead of an error, of course.

Re: Out of Memory Error

Posted: Mon Aug 17, 2020 9:26 am
by joes
I've created a job to enhance the error that is displayed so that it will describe what file types are valid for attachments.