IntelliJ idea 2023.3 freezing on copy and cut.

Answered

Hey, I am working on java and angular code just now and intellij keeps freezing for 20 sec and more every time when I copy / cut any code . I have seen some other occurrences of this but they were "fixed" in a new update, (also I tried to install new version), or by disabling the bundle `Java Bytecode Decompiler` plugin.

I uploaded my logs: Upload id: 2024_01_29_5mharMW2k21vQCeRUsKddV (file: idea-logs-20240129-1130137553600889476369971.zip)

Does anyone know if I am doing something wrong? I cant working with that, Thanks!

1
9 comments

Hi Shulamit,

Do I understand correctly that the folder where you store your projects is located on OneDrive? Is the problem reproducible for projects stored on disk outside of OneDrive?

Is it reproducible after you've disabled all of the non-bundled plugins and restarted the IDE? File | Settings | Plugins | ⚙ | Disable all downloaded plugins

Custom plugins: [JUnit 5 Mockito Code Generator (1.5.4), SonarLint (10.2.1.77304), Maven Helper (4.27.1-IJ2022.2)]
0

Even after disabling plugins and making sure that the projects are not on one drive the issue still reproduce

Upload id: 2024_01_29_JnDimJGTVQ8Ctva7hTEpfF (file: idea-logs-20240129-1250042710440239730874111.zip)

 

0

Hi,

Thanks for sharing the new logs. Unfortunately, from the log, I don't see any freeze from your log that is related to Copy/Cut.
It seems the IDE doesn't capture the freeze of it for some reason.

Could you please refer to the jstack to capture two IDE thread dumps when you use the Cut/Paste and the IDE is freezing and share them?
You can type the needed jstack command in Termianl, switch to the IDE, reproduce this issue and quickly switch to the Terminal, press Enter to capture the thread dumps before the IDE is unfreezing.
So we could check the thread dump to know what the IDE is stuck there when you using Cut/Paste.

0

Certainly! It looks like you're being asked to capture thread dumps using jstack to investigate an issue related to freezing in an IDE when using Cut/Paste. Here's a step-by-step guide on how to perform this:

  • Open your Terminal.
  • Type the following command to find the process ID (PID) of your IDE:
  • jps
  • Look for the PID corresponding to your IDE process.
  • Use jstack with the IDE's PID to capture thread dumps. Replace <PID> with the actual process ID:
  • jstack <PID> > thread_dump.txt
  • Switch to your IDE, and reproduce the issue by performing the Cut/Paste action that causes freezing.
  • Quickly switch back to the Terminal and press Enter to capture the thread dumps.
  • Share the generated thread_dump.txt file with the person requesting the information.

This process will capture the state of threads in your IDE when the freezing occurs, helping to identify the source of the issue. Make sure to follow the instructions promptly to capture the relevant information during the freeze. 

0

this is also happening to me. It's driving me bonkers…

1
Avatar
Margarita Tyumenkova

Hello John jaeckle ,

Please install the latest IDE version. If the issue will be reproduced with the latest version, create a YouTrack ticket with the following logs attached:

- thread dumps via jstack as described above

- IDE logs

See Create and Edit Issues if you're not familiar with YouTrack.

0

John jaeckle I disabled Java bytecode decompiler and it fixed the issue.

@... probably that plugin has the issue.

0

Hello.

I am was expiriencing issues like described with IDE tooking a long time to a simple copy action (in any type of file, as gradle build script, kotlin code, text, etc…). Some copy took until seconds. In my case, after some trial and error, the IDE looks normal after I disable “automatic ouline generation” from Gemini plugin.

The problem was let me in freaking out in last weeks, until a reach a point where working was difficult. After some hours of work, IDE continue to operate normaly.

I am was working on version 2023.3 built in December 5, 2025. Before, I am was using a version with some months old, I do not remember which. The problem with copy action was happening in both versions.

0

Welyab Exe, thank you for sharing your findings. Based on your investigation, the behavior appears to be caused by the Google Gemini plugin, which is a third-party plugin and not part of the IDE itself. In such cases, the best next step is to report the issue directly to the plugin maintainers so they can investigate and address the performance problem.

You can reach Google’s support for the plugin here:
https://cloud.google.com/code/docs/intellij/install#get-support

You can also report the issue on their GitHub repository:
https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues

Thank you again for taking the time to identify the root cause and share your workaround. This will likely help other users experiencing similar issues. 

0

Please sign in to leave a comment.