Results 1 to 4 of 4

Thread: Having some Problems with string , i need a bigger string ... :)

  1. #1
    Guest

    Post

    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 ..]

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Location
    Oporto, Portugal
    Posts
    134

    Post

    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

  3. #3
    Guest

    Post

    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 :

  4. #4
    New Member
    Join Date
    Feb 2000
    Posts
    7

    Post

    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.



    [This message has been edited by Trumpeter_Chris (edited 02-11-2000).]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width