-
Hello There - I Got a program where i put a Very Large amount of text into a string and i after a while he tells me OUT OF MEMORY ! i need something Bigger then a string that can hold more text , Any ideas [dont tell me Long or something Cuz i need it 2 be a string Kinda type ..]
:D
-
I don't know if it is the best way but...
I once had a simillar problem so I created an array of strings and checked when the string was reaching the overflow point added one element to the array and continued from then.
------------------
Jorge Ledo
[email protected]
Portugal
-
Umm , Well i dont think its the best way as you said ..
This is what i do maby this will make it more clear - my program send a file from the server side and send it to the client - files over 50 Mgz give me an overflow in the client side ... What do i do :
-
Do you need to process all the data at once, if not why store it in memory! Just write it into a temporary file and then reload when you need that particular section of the string.
:D
[This message has been edited by Trumpeter_Chris (edited 02-11-2000).]