seanbun
-
12/20/2010 11:39:34 PM
"Out of Memory" Error Message
I found below error message in the Error log. it happened on the getattachment/[GUID]/[NodeAlias]?width=100px&100px. I believe it would be redirected to the getfile page to do the resize. I believe the error thrown because of the file size may be too big.
1. I wonder what is the file size restriction? 2. Could I change the limit? 3. How should I handle big image? 4. Any article would explain this in details?
Cheers, Matt
Message: Out of memory. Stack Trace: at System.Drawing.Graphics.FromImage(Image image) at CMS.GlobalHelper.ImageHelper.ResizeImage(Int32 width, Int32 height) at CMS.GlobalHelper.ImageHelper.GetResizedImage(Int32 width, Int32 height) at CMS.GlobalHelper.ImageHelper.GetResizedImageData(Int32 width, Int32 height, Int32 quality) at CMS.FileManager.AttachmentManager.GetImageThumbnail(AttachmentInfo atInfo, String siteName, Int32 width, Int32 height, Int32 maxSideSize, Boolean searchThumbnailFile) at CMS.FileManager.AttachmentManager.EnsureThumbnailFile(AttachmentInfo atInfo, String siteName, Int32 width, Int32 height, Int32 maxSideSize) at CMSPages_GetFile.EnsurePhysicalFile(CMSOutputFile file) in d:\www\coates\Coates.CMS\CMSPages\GetFile.aspx.cs:line 1217 at CMSPages_GetFile.ProcessFile(Guid attachmentGuid) in d:\www\coates\Coates.CMS\CMSPages\GetFile.aspx.cs:line 782 at CMSPages_GetFile.ProcessAttachment() in d:\www\coates\Coates.CMS\CMSPages\GetFile.aspx.cs:line 540 at CMSPages_GetFile.Page_Load(Object sender, EventArgs e) in d:\www\coates\Coates.CMS\CMSPages\GetFile.aspx.cs:line 257 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at CMS.UIControls.GetFilePage.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|