Check whether cache files on drive C can be deleted

Answered

I found two cache files of IDEA in my C drive, the current version is 2022.2. Can I delete the cache file of 2022.1 without affecting the current version running? Because it takes 2GB of memory, thank you

 

0
14 comments

Yes, you can use the Help | Delete Leftover Directories menu option to get rid of those.

0

I have clicked the Help | Delete Leftover Directories,but the file is not deleted,the file still exists

0

I found this to be a bug,I can delete this file using DataGrip, but IDEA cannot,the version of my IDEA is 2022.2

I still have another question,C:\Users\Administrator\AppData\Roaming\JetBrains,there are also two IDEA version data in this directory. Can I manually delete it?

0

I can delete this file using DataGrip, but IDEA cannot

Could you upload the idea.log of the version 2022.2 to https://uploads.jetbrains.com and provide the upload id here? Help | Show Log in Explorer

C:\Users\Administrator\AppData\Roaming\JetBrains,there are also two IDEA version data in this directory. Can I manually delete it?

Yes, you can always manually delete all IDE default folders (config, system, logs, plugins) of previous versions if you no longer need them.

0

I have uploaded the log,id:2022_08_30_Q3eUtD1axmmuqHEu55Pwdn,thanks

0

Do you see the old directory listed in the 'Delete Leftover Directories' dialog?

What happens when you click "Delete"?

Does it make a difference if you disable all non-bundled plugins and restart the IDE, then do the same? File | Settings | Plugins | ⚙️ | Disable all downloaded plugins

0

When click “Delete” , no dialog popover appears,I have disabled all the downloaded plugins。

The difference is that when I use DataGrip,this dialog is appears。

0

So do I understand correctly that in IntelliJ IDEA, you click Help | Delete Leftover Directories, then the notification appears in the lower right corner where you click "View and delete", and then the actual dialog with the list of found directories does not appear - right? Or do you not see the notification either?

 

0

Yes, the dialog does not appear, but it is visible using Datagrip。

0

Please try to do File | Invalidate Caches | Invalidate & Restart with the first option enabled.

If you have antivirus/firewall, make sure that all IDE default directories, IDE installation folder and project files are excluded from the scan. For more information, see help article one and two.

0

It has been tried, but it still doesn't work

0

I am in another IDEA of the same version, and this operation can be successfully done. Maybe it is related to the configuration of my computer. Thank you for your reply

0

I am in another IDEA of the same version, and this operation can be successfully done

Then it must be the corrupted settings of a specific IDE installation.

See if it helps to follow steps 2 through 5 from this troubleshooting guide for the version where it doesn't work. It will have you delete certain default IDE directories in order to restore program integrity.

0

It seems not much use, I will wait for the 2022.3 version, uninstall it, reinstall the new version and see if there is still this problem, thank you for your answer

0

Please sign in to leave a comment.