I'm using Vector to store records in my program (that is an XML parser (records are Tags)). Is there any limitation for the no of records you can put in vector because i suspect that my vector does not save all the tags from the file (there are millions of tags in the file). So Is it true? I've also seen most of the people are suggesting to use ArrayList instead of Vector. Both grows automatically and should be able to store an arbitrary amount of elements, then whats the difference?
What should i use?
Thanks in advance.