Soulsby Synths Forum

Products => Atmegatron Librarian => Topic started by: rio on September 28, 2017, 11:34:13 AM

Title: Atmegatron librarian CPU usage
Post by: rio on September 28, 2017, 11:34:13 AM
Hello,

I have noticed that the librarian has a strong cpu load even if the program is only open (idle). Pls, can you analyze/notice the same, is there a fix around this?

- Windows Version -

Greetings,
rio
Title: Re: Atmegatron CPU usage
Post by: paulsoulsby on October 02, 2017, 06:21:36 PM
I've not noticed this.  It's a fairly lightweight application.  The only thing that is remotely demanding is redrawing the waveform. What is the spec of your PC?  Is the application working correctly apart from this issue?
cheers
Paul
Title: Re: Atmegatron librarian CPU usage
Post by: rio on October 05, 2017, 08:30:48 PM
Today, I wanted take a look about it in detail.

Some weeks ago, I had to go for Java JRE 8 for another purpose and sadly, now I can't open the librarian anymore. It stays in memory as process, but it doesn't shows me any GUI - and there is no error message!. OS is Win7. Please can you take a look about it?

thanks and greets,
rio
Title: Re: Atmegatron librarian CPU usage
Post by: paulsoulsby on October 11, 2017, 12:23:59 PM
Hmm - I'll investigate.  I haven't updated Librarian for a long time.  My suspicion is that they've changed the Java runtime and it's no longer compatible.  If it's just a case of recompiling it in Netbeans I'll do it.  If it requires a massive rewrite, I'd be tempted to do it in Qt. I've kinda given up on Java!
Title: Re: Atmegatron librarian CPU usage
Post by: rio on January 04, 2018, 08:10:17 AM
Hey paul,

Thanks for all support (the firmware updates are great!), but I wanted to ask again, if there is any news on the mentioned librarian bug? Many Thanks & Good succeed.

Best regards, rio
Title: Re: Atmegatron librarian CPU usage
Post by: paulsoulsby on January 10, 2018, 10:18:56 PM
Hi.  I've just done some tests.  I'm afraid I don't have any machines left on Win7, they're all on Win10, but I'd imagine the problems would be reproducible on both OSs.
I did a fresh install of the 64-bit installer on website.  The machine didn't have any Java or Netbeans (the IDE it was written in) installed.

I did notice that the installer behaved very oddly. It sat there for a good couple of minutes doing nothing, but eventually it did install successfully.

I then launched Librarian and it behaved completely normally. The Task Manager was showing 30-40% for Librarian, but no other apps were doing anything!  I thought a fairer test would be to play a Youtube vid in the background and see how it coped.  Screenshot attached. 

The performance of the app isn't great, but Java is famed for being processor intensive.  I don't think there's actually anything wrong with the app.  It's not bad enough for my laptop to heat up or anything!

Could you try completely removing Librarian and all Java run time installs.  Then download and install Librarian again.  It has the Java environment inbuilt to the installer, so no need to install Java manually.

Let me know if it starts behaving then!
Title: Re: Atmegatron librarian CPU usage
Post by: rio on August 21, 2021, 10:44:43 AM
I tested it again on Win10 and the latest Java version. I also notice a considerable CPU load of 40% there (See picture below). Under Win 7 I have 44% CPU load on all cores. Something doesn't seem to be idling with the librarian.

Greetings, rio