Running GUI applications too slow

Answered

Since yesterday running swing applications is really slow. I see green dots in right upper corner(run sign and main class)  when I run and I need to wait about 25-30 seconds to see a program, I'm using Arch Linux, java 1.8.0_74. It's not because of update, I have updated today to see if it will fix that, but it didn't.

EDIT: I'm using community edition, on my second machine(windows) runs fast same versions of intellij and jdk.

6 comments
Comment actions Permalink

Do the apps start fine in the terminal, outside of IDEA? Do you use Run or Debug?

Try to use jstack to get the thread dumps of the starting app to see what happens: https://intellij-support.jetbrains.com/hc/articles/206544899.

0
Comment actions Permalink

No, in terminal nearly same amount of time is needed. I use Run. Here's jstack's thread dump https://ptpb.pw/-A-H.txt and autodump folders https://ptpb.pw/3l6n.rar

0
Comment actions Permalink

In this case the problem is not related to IntelliJ IDEA. Get the thread dumps for your own app, not for IDEA, strace may also help.

0
Comment actions Permalink

It happens to all swing apps, even demo classes from oracle tutorials.

0
Comment actions Permalink

Here's menu demo from oracle tutorials thread dump, https://ptpb.pw/e3d6.txt

0
Comment actions Permalink

I don't know what happened but it's blazing fast now, I tried everything trough day, rebooting, restarting ide and java, reinstalling them and it didn't help and now it magically works, I'll tell you if it happens again. Thank you so much ;)

0

Please sign in to leave a comment.