Red Squirrel
No Lifer
C# seems to really not like storing large amount of data in a string, regardless of how much memory is available.
At random, if I try to store say, 100K of string data in a string, or even less, it may crash.
Other then "don't store that much data in a string" what is a way around this limitation? I know it has to do with the stack getting fragmented but I mean, C++ can hold GIGS of data in a string, so there's got to be a way around this limitation.
If you're wondering, this is for a program that used to write this data to file in buffers, but I am converting it to SQL. Some items are very large so they need a very large string in order to be stored/restrived from SQL. These strings are more or less used as buffers, then emptied out when done. I would not say it's the BEST way, but if I can get around this limitation, it will work well.
At random, if I try to store say, 100K of string data in a string, or even less, it may crash.
Other then "don't store that much data in a string" what is a way around this limitation? I know it has to do with the stack getting fragmented but I mean, C++ can hold GIGS of data in a string, so there's got to be a way around this limitation.
If you're wondering, this is for a program that used to write this data to file in buffers, but I am converting it to SQL. Some items are very large so they need a very large string in order to be stored/restrived from SQL. These strings are more or less used as buffers, then emptied out when done. I would not say it's the BEST way, but if I can get around this limitation, it will work well.