Quantcast
Viewing all articles
Browse latest Browse all 27201

VS 2010 Exception of type 'System.OutOfMemoryException' was thrown.

Code:

Dim filelist As New List(Of Byte)(IO.File.ReadAllBytes(OpenFileDialog1.FileName))
The file I'm trying to open is 1.5gb. Basically what I want to do is open the file and then dump from certain parts from it. Is there a way I around this exception, or is there another way to do what I want to do? Maybe read from offset to offset at a time?

Viewing all articles
Browse latest Browse all 27201

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>