I came across the OutOfMemoryErro r so I want to remove the last element in the array testThread.
Please help because I got compilation error with testThread.remo veElementAt(i)
Thanks.
Please help because I got compilation error with testThread.remo veElementAt(i)
Code:
try {
testThread[i] = new TestThread(
testClass,testInstance,testEntry,testParameters,testStreams);
} catch(java.lang.OutOfMemoryError e){
System.gc();
System.out.println("Call gcc - In the loop I= " + i);
testThread.removeElementAt(i);
-------------
Comment