Slow app loading Ubuntu 20.04 LTS
Answered
Hello guys, i have problem with Intellij Ultimate. So slowly is loading the app, that i have to wait 3-5 minutes to be opened an intellij.
My performance is:
AMD Ryzen 7 3400u 8 Cores with good frequency
8 GB Ram, SSD Nvme
OS: Ubuntu 20.04 LTS
What could be the problem? In my opinion, there may be two possibilities
1. Ubuntu problem such as is written on this article -> https://www.linuxuprising.com/2018/05/get-qt5-apps-to-use-native-gtk-style-in.html , i tried to install this library but the problem is not solved.
2. Intellij problem with Ubuntu 20.04
,because on Windows is loading fast
Please sign in to leave a comment.
Please refer to https://intellij-support.jetbrains.com/hc/en-us/articles/207241235 (profiling slow startup).
How could i send a ticket with the snapshot? I send it to https://youtrack.jetbrains.com/issue/IDEA-267684, i hope is the correct place
hello vlladislav ,
hope you are doing well .
i was also facing same slow starting problem , But Now i found a solution .
1 , first uninstall your intellij package from snap ,, because snap service make opening time slow in ssd.[make sure to backup your project ]
for uninstalling intellij , open terminal and type $ sudo snap remove intellij+press TAB and then Enter
2 , Go to jet brain website and download intellij .tar.gz file , for downloading that tar file just click on download button of inellij ultimate or community version .
DO NOT use this command [
sudo snap install intellij-idea-community --classic
or
sudo snap install intellij-idea-ultimate --classic
or
sudo snap install intellij-idea-educational --classic ]
because above are related to snap service .
And also make sure that this file ideaIE-2021.2.2.tar.gz must download in ssd , if not downloaded in ssd then copy in ssd.
3 . extract that .tar.gz file and after that one folder will visible named ideaIE-2021.2.2 , open it
4 . go to bin folder of that downloaded folder , open terminal in that directory and type ./idea.sh and application will start to work .
before this solution my opening time was 1 minute But now opening time is about 18 sec.
MY PC specification
Ryzen 3 256 GB NVME SSD 8 GB ram
i hope this method will work for you to also , Enjoy speed of ssd.
check this video for step 3 , 4 :
https://youtu.be/5A8i1fCnufI
And check this website for optimization of ssd for linux
https://easylinuxtipsproject.blogspot.com/p/ssd.html
At the middle of this web page follow step from
: You can switch your system to automatic daily trimming as follows: this sentence
and follow step a,b,c,d,e,
restart your computer .