HELP!!! java.lang.OutOfMemoryError using ArrayList

Hi,

I hope that someone can help me with this problem. My ArrayList stores objects containing two double arrays and two instance variables of type double. The size of the array is 6000. During the generation of the 6000 objects the memory usage was 6,152 K and my computer's memory capacity is 640 MB. When I pass the collection to be analyzed by another object the object first copies one of the arrays from each of the 6000 objects in the collection to make a 6000 by 3 double[][]. At this point I get this error. I hope that someone can help.

Thanks in advance.

[591 byte] By [hehw] at [2007-9-26 4:29:28]
# 1
You can use switches to the java command to get more memory. Type the command "java -X" to get a list of these switches.
schapel at 2007-6-29 17:40:53 > top of Java-index,Archived Forums,Java Programming...