Hi everyone,

I have a problem:

I need to store some strings.  Currently I use a
vector to do it.  The vector's size is 1000, if the
string is over 1000, then I delete first 10, leave
some room for the new ones. I just keep check and
deleting for the new strings. My problem is, after a
while the memory will be full, and the program will
die.  So I know vector is not the best solution. Is
anybody know what is the solution for that?

Thanks very much

Shirley


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to