Performance issue while reading contents of a file using java

Discussion in 'Software' started by Srividya Koduri, May 4, 2010.

  1. Srividya Koduri

    Srividya Koduri

    May 4, 2010
    Likes Received:
    Here the performance issue is with the java code which i had written to read file contents
    Using buffer reader iam reading file contents line by line and appending to a arraylist
    After that iam accessing file contents by iterating through arraylist
    Here each file contains a minimum of 1000 lines of code
    During this process CPU usage is between 80% to 90%
    Can anyone tell me, how to resolve this performance issue

    Thanks in Advance,
    Srividya Koduri
    Srividya Koduri, May 4, 2010
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.