File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Performance and the fly likes 100% cpu usage while loading the records Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "100% cpu usage while loading the records" Watch "100% cpu usage while loading the records" New topic

100% cpu usage while loading the records


Joined: May 01, 2007
Posts: 4
hi Friends,
my application is running fine and here comes the performance issue when i try to load 1000 records which contains almost 80 columns which it was retriving frm database.. and displaying the Screen.. the thing when it try to display the records in the html/jsp it was taking 5 to 6 minutes and also it was taking 100% CPU usage which i cant move to other window or to do other task in my pc.., Even we are doing through Connection pooling still we are unable to do it.., the thing was it was getting the data very quickly but while displaying it was taking time... we are using IE6.0 version browser(latest one) Still unable to find the solution..,

PC Confirguration is good as we are using Pentium 4 and 512 mb ram...
please help me regardign this as we are running out of time....

Thanks in advance.......
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
I am not real clear on the configuration you are working with. Since you mention a browser and jsp I am assuming the database queries are being done by a servlet - is this correct?
Is the servlet running in the same machine as the browser?
Is the database on the same machine?
Which computer has the 100% utilization of the CPU?
Have you done any testing to determine which function is taking all the time?

I agree. Here's the link:
subject: 100% cpu usage while loading the records
It's not a secret anymore!