User Profile

Collapse

Profile Sidebar

Collapse
doananh
doananh
Last Activity: Sep 13 '07, 07:56 PM
Joined: Sep 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • doananh
    replied to remove the last element in the array
    in Java
    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.
    See more | Go to post

    Leave a comment:


  • doananh
    replied to remove the last element in the array
    in Java
    testThread[i].removeElementA t(i);
    does not work
    See more | Go to post

    Leave a comment:


  • doananh
    started a topic remove the last element in the array
    in Java

    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
    ...
    See more | Go to post
No activity results to display
Show More
Working...