简体   繁体   中英

Intellij Idea Community Constantly Freezes and Maven projects stuck on reading pom.xml for a very long time

I have just installed Intellij Idea Community on my work computer (virtual machine) and it constantly freezes for more than a minute at times every few minutes. Additionally, when I can finally do some work and load, and when I open a maven project, the reading pom.xml stage can take 20-30 minutes. This also happens anytime I make changes to my pom.xml file.

I read a bit about the vm options but couldn't understand enough of it to make any changes.

Google Drive Link to idea logs

Check your intellij memory settings. Increase it if it is low.

Go to Help -> click on Change Memory Settings

In Popup increase the memory.

Click Save and Restart

在此处输入图片说明

在此处输入图片说明

I fixed the maven problem by setting a proxy in intellij. This did not occur to me at first as none of the other IDEs that we use have proxies set.

As for the constant freezing, a majority of it was caused due to the maven scans and since I dont have that problem anymore, I don't need to worry too much about the freezes either

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM