Xorg and java hitting 100% CPU
I am running Kubuntu 10.04, 64 bit on a single processor AMD box, with a Radeon 7500 graphics card. Running vassal (which is just a java program), I sometimes see the CPU climb to 100% and stay there for many minutes (before I kill the process, and it all clears up). This is about 35% java CPU and 65% Xorg. It is 100% reproducible, in that if I do the same thing I see the same problem.
Interesting things.
- It only happens when the java program is displaying graphics (mostly static jpeg files), and does not happen on my ubuntu box (totally different hardware though - a laptop). Just running java and looking at windows where jpgs are not displayed does not seem to trigger issues.
- It did not happen when I was running 9.04 or earlier. I upgraded direct from 9.04 to 10.04.
I suspect some kind of incompatibility with the video drivers triggered by java, but would like suggestions what to try next. Should I upgrade java (to what version?), do something with the video drivers, or what? I don't know whether the upgrade changed the JVM or changed the video drivers, or something altogether different.
Java version is as follows :
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02)
Java HotSpot(TM) Client VM (build 1.5.0_19-b02, mixed mode, sharing)
Many thanks for any helpful suggestions,
Pete
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply: