Author Topic: Ancestris v12 100% CPU with openjdk21 ; openjdk11 is ok  (Read 3125 times)

0 Members and 1 Guest are viewing this topic.

Offline FunkerHornsby

  • VIP
  • Newbie
  • *
  • Posts: 2
    • View Profile
Ancestris v12 100% CPU with openjdk21 ; openjdk11 is ok
« on: October 19, 2023, 09:58:17 »
Hello,

when I start Ancestris v12 with openjdk v21. I get 100% of CPU usage; with openjdk v11 the CPU usage is  below 10%.
Trying openjdk v17 gives also 100% CPU usage.
Working with Ancestris is possible but the CPU usage remains at 100%.

The cpu usage is measured with the linux tool "top".
 
I found a relevant article in the french forum but without problem solving.
So i added the Debug flags in ancestris.conf and added the output as textfiles.

My System is an actual Archlinux install with KDE desktop, the version numbers are all in the debugfiles.

Please get in touch if further information is required.

Regards

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 927
    • View Profile
Re: Ancestris v12 100% CPU with openjdk21 ; openjdk11 is ok
« Reply #1 on: October 19, 2023, 10:49:13 »
The relevant solution is to change Java version.
I didn't reproduce the trouble with Java 17 on Windows.
Last version of Java 21 seems CPU-intensive.

Additionally, Java 21 is very new.
It could have some unexpected behavior depending on the OS.

Zurga