query: Java ArrayList IndexOutOfBoundsException despite giving an initial capacity
positive_passages.docid: 28343
positive_passages.text: Initial size for the ArrayList
negative_passages.docid: 403
negative_passages.text: Huge arrays throws out of memory despite enough memory available
negative_passages.docid: 49
negative_passages.text: What is a NullPointerException, and how do I fix it?
negative_passages.docid: 101781
negative_passages.text: MemoryStream usage leads to out of memory exception
negative_passages.docid: 35590
negative_passages.text: How to fix NullPointerException in Java?
negative_passages.docid: 155957
negative_passages.text: Method causes OutOfMemory error
negative_passages.docid: 138381
negative_passages.text: Why typical Array List implementations aren't double-ended?
negative_passages.docid: 89628
negative_passages.text: How to handle OutOfMemoryError in Java?
negative_passages.docid: 120334
negative_passages.text: How to convert an ArrayList containing Integers to primitive int array?
negative_passages.docid: 574
negative_passages.text: Can a java application allocate more memory than specified by jvm startup parameters?
negative_passages.docid: 72705
negative_passages.text: Java reading a file into an ArrayList?
negative_passages.docid: 42470
negative_passages.text: How to initialize a List to a given size (as opposed to capacity)?
negative_passages.docid: 138687
negative_passages.text: How to fix "System.QueryException: List has more than 1 row for assignment to SObject"
negative_passages.docid: 55951
negative_passages.text: Passing arraylist of objects between activities
negative_passages.docid: 10867
negative_passages.text: How to avoid ArrayIndexOutOfBoundsException or IndexOutOfBoundsException?
negative_passages.docid: 29351
negative_passages.text: Getting a ConcurrentModificationException thrown when removing an element from a java.util.List during list iteration?
negative_passages.docid: 28147
negative_passages.text: java: (String[])List.toArray() gives ClassCastException