This is a migrated thread and some comments may be shown as answers.

System.OutOfMemoryException

2 Answers 84 Views
ImageGallery
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Iron
Kjell asked on 07 Mar 2014, 05:45 PM
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 Answers, 1 is accepted

Sort by
0
Andrey
Top achievements
Rank 1
answered on 08 Mar 2014, 06:31 PM
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.
0
Angel Petrov
Telerik team
answered on 12 Mar 2014, 10:59 AM
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.

 
Tags
ImageGallery
Asked by
Kjell
Top achievements
Rank 1
Iron
Answers by
Andrey
Top achievements
Rank 1
Angel Petrov
Telerik team
Share this question
or