Re: URL class heavy on COU usage

From: Boudewijn Dijkstra (usenet_at_bdijkstra.tmfweb.nl)
Date: 09/24/04


Date: Fri, 24 Sep 2004 23:35:23 +0200


"jmm-list-gn" <jmm-list.AXSPAMGN@sohnen-moe.com> schreef in bericht
news:0qWdnXdwQ6w7JM7cRVn-sQ@giganews.com...
> Hello,
> Java v1.4.2_05.
> I am using the URL and HttpsURLConnection classes in a program. As soon
> as the openConnection() method is called, the CPU usage goes to 100%
> greatly slowing the functioning of other programs. When the connection
> closes, the usage drops back to normal.
> Is this expected? A possible problem in the JVM?

Any unbuffered system stream is likely to draw 100% CPU, period.



Relevant Pages

  • Re: pcscd, sun java, 100% CPU usage
    ... Finally got my CAC Card setup running and working. ... and even updated the java applets. ... I can stop pcscd through the "Services" ... need it, but when I do need it, will I have to face high CPU usage? ...
    (Fedora)
  • Re: pcscd, sun java, 100% CPU usage
    ... Finally got my CAC Card setup running and working. ... and even updated the java applets. ... I can stop pcscd through the "Services" ... need it, but when I do need it, will I have to face high CPU usage? ...
    (Fedora)
  • Re: My website is down
    ... >>> This posting expresses the personal view and opinions of the author. ... >>> Something which everyone on this planet should be able to do. ... its CPU usage here is 1% or less (Win XP/Athlon ... Looking at the source, I cannot find any Java anyway, BICBW. ...
    (uk.sci.weather)
  • Re: URL class heavy on COU usage
    ... >> I am using the URL and HttpsURLConnection classes in a program. ... >>as the openConnectionmethod is called, the CPU usage goes to 100% ... > Any unbuffered system stream is likely to draw 100% CPU, ... readURLConnectionis a buffered stream. ...
    (comp.lang.java.help)
  • Re: Computer freezes with web based program
    ... I have a 16 mb video card. ... I don't think the CPU is overheating to the extent that it freezes the computer, ... Have you tried watching Task manager for memory and CPU usage? ... Does the program use Java? ...
    (microsoft.public.windowsxp.general)