Java and CPU usage
Hi everybody,
I use a certain java application to trade the stock market and it consumes 90% my CPU power. And the CPU temp usually remains around 90c. This is a real headache. What causes this problem and what are the possible solutions? Thank you. |
Quote:
|
Quote:
Quote:
Step 2 is profile the thing while it's running.A command line system call, like "ps aux" while it's running, gives you something like this (I substituted pulseaudio on my machine for the app you're talking about on yours for this example). Quote:
Step 4 Read the documentation that came with the product. It's has a specific Java requirement, for example. Are you meeting that requirement? Are you using a version of Java several versions past the requirement? Are their any other requirements you're not meeting? |
Thank you, unSpawn and dijetlo, taking the time to help me out. I use the latest Java, but the app keeps consuming enormous amount of resources. I contacted the vendor and waiting for a reply. Thanks again for your time.
|
The write once, run everywhere concept of Java is a trade off. It does consume some power but we haven't yet proven what is running and what is consuming cpu or even if your metric is correct.
What does command top say? Can it be that network calculation for md5 are burning up your cpu? What is the quality of the host system? |
All times are GMT -5. The time now is 11:54 AM. |