Out of memory exception

Last post 05-21-2009, 1:58 PM by Adam. 2 replies.
Sort Posts: Previous Next
  •  05-21-2009, 8:55 AM 52384

    Out of memory exception

    Hi,
     
      Just bought the version 6.3 couples of weeks ago, when my users browse throw the image gallery they raise an Out of memory exception :
     
    Type: System.OutOfMemoryException
    Message: Out of memory.
    Stack

    at System.Drawing.Image.
    GetThumbnailImage(Int32 thumbWidth, Int32 thumbHeight, GetThumbnailImageAbort callback, IntPtr callbackData) at CuteEditor.Impl.ThumbGenerator.ExtractThumbnail() at CuteEditor.Dialogs.ThumbnailHandler.ProcessRequest(HttpContext context) at CuteEditor.LoadHandler.ProcessRequest(HttpContext aspnetcontext) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     
    I looked around on your forum, I actually doubt that my server is loaded, I have a 4 gig of RAM dedicated server that is actually using less than 2 gig?  Any idea what can I do?
     
    Secondly, I seems to have access to configure any path except that ~/uploads path that your Insert Image required. My application is multi-sites so every users has theire own path. Is there any way to configure programmatically that path, like those ?
     
     htmlEditor.Setting["ImageBrowserPath"] = string.Format("/websites/{0}/Upload/Images/", WebSiteId);
                htmlEditor.Setting["security:ImageGalleryPath"] = string.Format("/websites/{0}/Upload/Images/", WebSiteId);
                htmlEditor.Setting["security:AutoResizeUploadedImages"] = "true";
                htmlEditor.Setting["security:FlashGalleryPath"] = string.Format("/websites/{0}/Upload/Flash/", WebSiteId);
     
    I looked on your documentation and I was not able to find how to configure that path, because now it's throw an exeption because that ~/uploads path does not exist, I hope it's not hard-coded into your code base?
     
    I would appreciate help as quickly as possible since that editor is live and generate exception everytime a user want to browse the image gallery.
     
    Thanks, Dominic
     
  •  05-21-2009, 9:01 AM 52385 in reply to 52384

    Re: Out of memory exception

    Forget my second question, while pasting the code, I notice I have forget the security: before the ImagePath.
     
    Waiting for your feedback on the Out of memory exception.
     
    And If I may, am I entitled to update to version 6.4 how does it work since I bought the 6.3 version 3 weeks ago?
     
    Thanks again.
  •  05-21-2009, 1:58 PM 52400 in reply to 52385

    Re: Out of memory exception

    dstpierre:
     
    And If I may, am I entitled to update to version 6.4 how does it work since I bought the 6.3 version 3 weeks ago?
     
    Thanks again.
     
    Yes. Just download the control and use your own official license file.
     
    Can you send me the images which caused the problem?
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML