Intellij randomly uses 100% of cpu and crashes eventually

已回答

for some reason the cpu usage goes to 100% on no particular reason 

i have the crash report: http://pastie.org/p/2EqVvNyC0QmFW4HcAv9fB6

my pc stats:

cpu i5 12400f 

32 gb ddr4 3600 mhz

gpu 1660 super

5

Hello Lucasezequiel120202. Please, capture the CPU snapshot using the following instruction:

  • press  Help | Diagnostic Tools | Start CPU Usage Profiling;
  • make sure that the high CPU usage problem is reproduced;
  • press  Help | Diagnostic Tools | Stop CPU Usage Profiling.

The snapshot will be saved to the user home directory. Please, share this snapshot with us; your IDE logs (Help | Collect Logs and Diagnostic Data) could be helpful, too. You can share it privately via JetBrains Uploads service and post the ID you receive here.

1

i couldnt find the option you are saying, i googled, checked help, etc and i dont think i have that option 

thanks to what you said i could find a cpu monitor usage and managed to get a screenshot of how it looked like when it crashed 

https://ibb.co/hfHbKRj
had to use a free image hosting as the image wouldnt upload, the website is called ImgBB

 

i also went to task manager to try and track where the error was and i found two "idea64.exe" processes that were trying to do something and with this using 100% of my cpu, googled and it says to be a lack of memory but i have 32 gb and when this error happend i was using about 17

0

Please, check if the Performance Testing plugin is installed and enabled in your IDE. After installing, the  Help | Diagnostic Tools | Start CPU Usage Profiling  menu item should be available. 

Also, please, check if increasing memory heap size helps.

0

i have the plugin Performance Testing

but the option to start cpu usage profiling doesnt seem to be there

 

i did increase the memory settings to 3042MiB to see if that fixes it, if it crashes again ill change it to 4056 MiB. 

thank you 

0

Lucasezequiel120202 , sorry, I just figured out that you use Community Edition. Please, also install the Async Profiler for IDE Performance Testing plugin; this should finally add necessary action to the the  Help | Diagnostic Tools  menu.
Could you please also provide me with your IntelliJIDEA logs and clarify which exact behavior you mean when speaking about IDE crashes?

0

Hey managed to capture the freeze while using the CPU Usage Profiling, upload id:

Upload id: 2023_04_06_244Ttz47mU59FMYuBskGFa (files: idea-logs-20230406-160404556763554809574444.zip, log.rar)

you will see two files in there, "log.rar" which is "Help -> Show logs in explorer -> (take all files and compress them into log.rar) "
and the other file which is a zip of "Help -> Collect Logs and Diagnostic Data" in that zip theres a folder named "threadDumps-freeze-20230406-160233-IC-231.8109.175" that should contain the freeze

thank you 

0

froze again

Upload id: 2023_04_06_Yg7HjCaVCTNRode2z1a5DS (file: threadDump-20230406-175928.txt)

 

0

Lucasezequiel120202, from the provided logs, I can say that the problem you met looks very similar to this one. Unfortunately, we couldn't determine the cause of this issue, and it wasn't fixed yet. Sorry for the inconvenience.

Could you please provide me with the captured CPU usage snapshot? It could help me localize the problem in your particular case.

0

i downgraded to 2022.1 and it seems to have fixed the issue 

0

Sorry to hear that only a downgrade solves the problem. You can upvote the issue I mentioned so you will be notified when it is fixed.

If you have any other problems or further questions, please, feel free to contact us.

0

Hi is this still active? im still having this problems but i have more data now, having too many things open and using 80% cpu causes it to crash more often and if im not mistaken it only crashes when github copilot is enabled, what could i do?

0

Hello Lucasezequiel120202, could you please share the IDE log (Help | Collect Logs and Diagnostic Data) via the JetBrains Uploads service? 

0

yeah Upload id: 2023_05_06_JxkUtBuDR9stdjsxydnyqS (file: idea-logs-20230506-1350414625300350751280532.zip)

0

i reinstalled latest version 2023.1 and it just keeps crashing, im gonna have to start using vscode because intellij has been working worse than ever 

0

Could you please check if disabling the GitHub Copilot plugin helps? 

0

HI, JetBrains team,

here is the CPU profile upload ID 2024_05_19_Db5AwFpdnUU2setYyQHXJt, I am facing high ( 100%) CPU usage while use IDEA ultimate 2024.1.1

My PC Configs are
CPU: i9-11900

Ram: 64 GB (CL 16) - 3200 Mhz
GPU RTX 4080 16gb

1
It seems to be caused by a third-party plugin or configuration you have in the IDE. Can you please try to disable all the download plugins from Settings | Plugins | Click the gear button | Disable all the downloaded plugins menu?
0

Hi Ethan Yin , yes I have disable and also uninstalled and tried, still facing same issue 100% usgae while using.

0
Hi,

In the previous CPU snapshot, it looks like the "Atom Material icons" plugin is related. Did you also disable that one?

If it still persists, please attach the CPU snapshot again.
0

HI, JetBrains team, here is the CPU profile upload ID 2024_07_05_26aG3V4rEs7v1ZqP71b7i7, 

I am facing high ( 100%) CPU usage while use IDEA ultimate 2024.1.4 

My MacOS configs are 
CPU: Apple M1 Max
Memory: 64GB (I give IDEA 20GB heap size)

macOS Sonoma 14.5

0
I can see `javax.net.ssl.SSLEngine.unwrap` uses a lot of your CPU which is something related to the network. 

Can you please clarify what kind of actions did you take when the CPU usage is high?

Does it help if you disable all the downloaded plugins?
0

请先登录再写评论。