System.OutOfMemoryException

P

Paschal

I am loading a considerable amount of data (1 gig) into a
dataset. I have four gig on my server. I keep on
getting a "System.OutOfMemoryException: Exception of type
System.OutOfMemoryException was thrown"
in
"CodeBase:
file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorli
b.dll"

Is there a config file setting that can be set in order
to increase allowable memory for app?
 
W

William \(Bill\) Vaughn

Why? What are you doing with the data once it arrives?

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
MVP, hRD
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
T

Theo Verweij

Wat are you trying to do with a gig of data in a dataset?

Maybe you can use a datareader, and handle one record at a time?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top