.net - Why I got System.OutOfMemoryException when using this code? -
.net - Why I got System.OutOfMemoryException when using this code? -
dim output1 = system.io.file.readalllines(file).tostring
the file size 1 gb. page file 128 gb. why out of memory? it's 64bit system.
because there many different factors go oom exceptions. start "out of memory" not refer physical memory.
an "out of memory" error never happens because there’s not plenty storage available... rather, "out of memory" error happens because process unable find big plenty section of contiguous unused pages in virtual address space requested mapping.
you should read clr within out - investigating memory issues.
the process can run out of virtual space if virtual memory overly fragmented.
so not @ file size verses pagefile, need examine else application doing , other processes running on system.
.net vb.net memory out-of-memory
Comments
Post a Comment