TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Murugan Krishnan
NA
54
0
Out of memory exception - pushing 2 lakhs record to AMAZON
Dec 26 2013 6:55 AM
Hi Folks,
PFA.
I have a task to push 2 lakhs records to AMAZON storage.
I have no problem when I push the record one by one to Amazon storage.
To speed up the process, have wrote threading code to push multiple record parallel.
I have created 2 thread & run the window app, after pushing 4 records its throw an "Out of memory exception".
In the code;
1) I kept the 2 lakhs records in List collection.
2) Pass 1 lakh record to each thread.
3) PFA
Its throw an exception when it reach the below line
documentInfoList = documentClient.GetDocumentsInfo(applicationId, arrayOfFileName);
Line No 247 on FileUpload.cs class.
Kindly help me.
Thnaks & Regards,
Murugan Krishnan
Attachment:
document migration.zip
Reply
Answers (
2
)
Best books on C#
System.IO.FileNotFoundException