User Profile
Collapse
-
I have to load a long list of classfile to the array (in the loop and then start to run all thread after the loading are done. I will stop loading the list when I get the OutOfMemoryErro r, then I need to remove few number of the last element in the array and then start to run all thread. -
-
remove the last element in the array
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)
...Code:try { testThread[i] = new TestThread( testClass,testInstance,testEntry,testParameters,testStreams); } catch(java.lang.OutOfMemoryError e){ System.gc(); System.out.println("Call
No activity results to display
Show More
Leave a comment: