System.OutOfMemoryException

3 posts, 0 answers
  1. Kjell
    Kjell avatar
    211 posts
    Member since:
    May 2011

    Posted 07 Mar 2014 Link to this post

    I get System.OutOfMemoryException if i have to large files in the images folder...
    Using "ImageGallery - Binding to Folder" exemple.

    I have 7 images in the folder that is located on approximately 4-6 mb
  2. Andrey
    Andrey avatar
    3 posts
    Member since:
    Nov 2013

    Posted 08 Mar 2014 in reply to Kjell Link to this post

    you must delete file thumbs.db from selected folder if it is there. I have 35 images in the folder that is located on approximately 5-6 mb and until I removed thumbs.db, getting error.
  3. Angel Petrov
    Admin
    Angel Petrov avatar
    1034 posts

    Posted 12 Mar 2014 Link to this post

    Hi guys,

    As an alternative solution I would also recommend binding the image gallery to a static collection instead of a folder. An example on how to achieve this is available here.

    Regards,
    Angel Petrov
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
Back to Top