For help: what has happened is that I have to create a large matrix to store the data, trigger a type of "System. OutOfMemoryException" exception
Do you usually how to deal with this problem?
CodePudding user response:
Do you know the 15000 x 150000 Double array need to how much memory?
About 167.64 GB!!!!!! Are you sure your computer can have so much memory?
First of all, current home/office which can support the computer motherboard, I'm afraid there is no such a large memory; Second, the only 64 - bit Windows system line (theory upward, not actual upward unknown),
CodePudding user response:
If there are so many the remaining space on the hard drive, using simulated memory file, speaking, reading and writing, speaking, reading and writing, Reference API SetFilePointer
CodePudding user response:
1) call API to open the memory 2) new open memory Can also, of course, with the file, database storage
CodePudding user response:
The public can also define a lot of data
CodePudding user response:
The building Lord, do work, the size of data to process? Directly on the Milky Way
CodePudding user response:
The building Lord, actual situation get with? Such as the database size could increase to 300 g, but I don't have to assign it a 300 g, from the start to allocate 100 m, and then increase slowly, and familiar with is essentially to know, in the enterprise manager by default in the form of an 10% growth, to the critical increases 10%, do not affect your function,