Copy slow for me

已回答

It's really strange but whenever I use copy (ctrl-c), IntelliJ would freeze for about 1-2 seconds. It's really annoying and makes coding inefficient. Has anyone else encountered this? I've tried wiping out my cache and my settings but still no luck. I'm using 4.5.3 but I've been having this problem since 4.5.

Any help would be appreciated!

0
Avatar
Permanently deleted user

How much memory do you have? Make sure your computer is not swapping. How
many other programs are running? All this matters.

It's really strange but whenever I use copy (ctrl-c), IntelliJ would
freeze for about 1-2 seconds. It's really annoying and makes coding
inefficient. Has anyone else encountered this? I've tried wiping out
my cache and my settings but still no luck. I'm using 4.5.3 but I've
been having this problem since 4.5.

Any help would be appreciated!



0
Avatar
Permanently deleted user

I have tons of memory available. (1.5GB) It's definitely not memory. I can restart my computer and only have IntelliJ running. As soon as I hit ctrl-c, IntelliJ freezes for a few seconds. I can see the IntelliJ CPU usage spike up. I've looked at IntelliJ debug logging and I don't see anything weird going on.

0
Avatar
Permanently deleted user

If you are using the EAP version, you can capture the CPU usage. This
will make it possible for them to figure out what the problem is.

Norris Shelton
Sun Certified Java Programmer




Charles Lee wrote:

>I have tons of memory available. (1.5GB) It's definitely not memory. I can restart my computer and only have IntelliJ running. As soon as I hit ctrl-c, IntelliJ freezes for a few seconds. I can see the IntelliJ CPU usage spike up. I've looked at IntelliJ debug logging and I don't see anything weird going on.

>

0
Avatar
Permanently deleted user

Charles Lee wrote:

I have tons of memory available. (1.5GB) It's definitely not memory. I can restart my computer and only have IntelliJ running. As soon as I hit ctrl-c, IntelliJ freezes for a few seconds. I can see the IntelliJ CPU usage spike up. I've looked at IntelliJ debug logging and I don't see anything weird going on.


What, specifically, are you copying? How big, what type (Java, text,
XML, etc.), etc.

--
Rob Harwood
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Any kind of text. in java and txt files. doesn't matter how large the text is. could be 1 character.

0
Avatar
Permanently deleted user

Did anybody find the solution. I have the same problem.
CPU just shoots up to 100 when I copy a simple text.

0

Maybe a stupid question, but did you try turning off your virus scanner or other memory scanning software? Just a guess...

0
Avatar
Permanently deleted user

I managed to fixed the problem by toggling the buttons in the package tab. It seems like a certain combination of the buttons being on causes this problem.

0
Avatar
Permanently deleted user

I see that this thread is quite old... but has there been a resolution?

I've been running intelliJ for over 2 years now - and just in the past few months (no recent updates to intelliJ!) the copy/paste has become slower and slower.

It happens in about 1 in 5 copies, but when I do ctrlC or ctrlP it often hangs for 2 to 3 seconds. I've tried various button combinations on the packages tab - but with no noticeable effect...

I'm not having any trouble in other applications (so it doesn't seem to be a system-wide clipboard issue).

I've got 2Gigs of RAM on my macBook - and the problem persists even if intelliJ is the only application running. Bumping up intelliJ's memory allocation (intelliJ config) hasn't helped.

It sounds minor - but it's got me switching to a different editor when I need to do something quickly.

Any ideas would be appreciated


Mac OS X 10.4.10
IntelliJ 5.1.1

0
Avatar
Permanently deleted user

Well, I've reached my breaking point. One final post here to see if there's any other/new ideas.

MacBook Pro 2Gigs of RAM
Mac OS X 10.4.10
IntelliJ 5.1.1

Copy and Paste is entirely unusable making intelliJ unusable. I like this editor so I've gone so far as to reinstall the OS, reinstall intelliJ - then run only intelliJ. But within 20 minutes, copy and paste takes up to 5 seconds to respond while intelliJ just hangs. "upgrade to 6.0" isn't an option at the moment ($$).

I've been a fan of IntelliJ, but sadly I need to move on to something else.

Here's hoping for a last minute solution... (fingers crossed)

0
Avatar
Permanently deleted user

I don't see anywhere that you've stated the memory limits configured for the JVM that's running iDEA itself. Most likely, that's the problem. You machine has the RAM, but you're starving IDEA.

I've never used version 5 and I don't know about how things are packaged on the Mac, so I don't know how to tell you to discover or change IDEA's RAM allocation there, but under versions 6 and 7 there's a shell script fragment file "idea.vmoptions" in the same directory as the launcher scripts and shared object (JNI) libraries that specifies these values. For example, my version 6 idea.vmoptions file contains this:


The version 7 (EAP) counterpart is the same.

Randall Schulz

0
Avatar
Permanently deleted user

We fixed slow paste problem in Selena (IDEA 7)

Patrick wrote:

Well, I've reached my breaking point. One final post here to see if there's any other/new ideas.

MacBook Pro 2Gigs of RAM
Mac OS X 10.4.10
IntelliJ 5.1.1

Copy and Paste is entirely unusable making intelliJ unusable. I like this editor so I've gone so far as to reinstall the OS, reinstall intelliJ - then run only intelliJ. But within 20 minutes, copy and paste takes up to 5 seconds to respond while intelliJ just hangs. "upgrade to 6.0" isn't an option at the moment ($$).

I've been a fan of IntelliJ, but sadly I need to move on to something else.

Here's hoping for a last minute solution... (fingers crossed)



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

And if your problem is the one we fixed then you can disable folding as
workaround

Patrick wrote:

Well, I've reached my breaking point. One final post here to see if there's any other/new ideas.

MacBook Pro 2Gigs of RAM
Mac OS X 10.4.10
IntelliJ 5.1.1

Copy and Paste is entirely unusable making intelliJ unusable. I like this editor so I've gone so far as to reinstall the OS, reinstall intelliJ - then run only intelliJ. But within 20 minutes, copy and paste takes up to 5 seconds to respond while intelliJ just hangs. "upgrade to 6.0" isn't an option at the moment ($$).

I've been a fan of IntelliJ, but sadly I need to move on to something else.

Here's hoping for a last minute solution... (fingers crossed)



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

I bring this up again.
version 2021.2. RAM 16 GB. each copy to the clipboard causes a freeze for 2-4 seconds.
it's impossible to work like that :(

0

Hi Gavr1l0 Try to temporarly disable all third-party plugins. If the problem remains raise a new issue at https://intellij-support.jetbrains.com/hc/en-us/requests/new  and provide the IDE logs. (Help | Collect Logs and Diagnostic Data)

1

Just to add, I started seeing this issue since yesterday, I can share the logs as well. I gave around 12 GB memory just to intellij and noticed the problem still exist, its only when copy a content and then IDE crashes with error memory exception. I have reported from the IDE tool as well. Going to disable all the plugins and going to try.

Also, note this is happening only on the .ts files and not on .java files as I have been working on both.

--------------- S U M M A R Y ------------

Command Line: -Xms128m -Xmx16048m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -XX:+UseCompressedOops -Dfile.encoding=UTF-8 -XX:ErrorFile=/Users/sathishkumarpalanivelu/java_error_in_idea_%p.log -XX:HeapDumpPath=/Users/sathishkumarpalanivelu/java_error_in_idea.hprof -Djb.vmOptionsFile=/Users/sathishkumarpalanivelu/Library/Application Support/JetBrains/IntelliJIdea2021.1/idea.vmoptions -Didea.paths.selector=IntelliJIdea2021.1 -Didea.executable=idea -Didea.home.path=/Applications/IntelliJ IDEA.app/Contents -Didea.vendor.name=JetBrains

Host: MacBookPro11,4 x86_64 2200 MHz, 8 cores, 16G, Darwin 20.5.0
Time: Fri Aug 20 11:15:37 2021 BST elapsed time: 99.809493 seconds (0d 0h 1m 39s)

 

Stack slot to memory mapping:
stack at sp + 0 slots: 0x000070000215cc50 points into unknown readable memory: 0x000070000215cd10 | 10 cd 15 02 00 70 00 00
stack at sp + 1 slots: 0x000000010ec0f119: _ZN21OopOopIterateDispatchI20ParPushOrMarkClosureE5Table15oop_oop_iterateI13InstanceKlassjEEvPS0_P7oopDescP5Klass+0x31 in /Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/lib/server/libjvm.dylib at 0x000000010e9ae000
stack at sp + 2 slots: 0x00000005d4851b08 is an oop:
[error occurred during error reporting (inspecting top of stack), id 0xb, SIGSEGV (0xb) at pc=0x000000010efbdf87]

 


com.intellij.diagnostic.JBRCrash

0

Hi Palanivelu Sathishkumar Please raise a new issue at https://intellij-support.jetbrains.com/hc/en-us/requests/new  and provide the IDE logs so that our Support Team could take a look at it. (Help | Collect Logs and Diagnostic Data)

0

For me, it was a plugin. I installed a plugin and was working on some localization files. The pasting became super slow. There was a plugin that tagged with the localization one even though it's not needed. I removed it and everything went to normal. The plugin that was causing my problem is called TYPO3 - Coding Tools 0.1.3.

1

I can confirm, that the third party plugin “TYPO3 Coding Tools 0.1.3” from sgalinski Internet services causes the problem.

0

same problem for me my plugins i have are

Phing (241.14494.237)
Database Tools and SQL (241.14494.237)
Docker (241.14494.237)
FTP/SFTP/WebDAV Connectivity (241.14494.237)
Remote Execution Agent (241.14494.237)
Vagrant (241.14494.237)
HTML Tools (241.14494.237)
Refactor-X (241.14494.237)
XPathView + XSLT (241.14494.237)
Settings Sync (241.14494.237)
Angular (241.14494.237)
Cucumber.js (241.14494.237)
JavaScript and TypeScript (241.14494.237)
JavaScript Debugger (241.14494.237)
JavaScript Intention Power Pack (241.14494.237)
JSONPath (241.14494.237)
Karma (241.14494.237)
Next.js (241.14494.237)
Node.js (241.14494.237)
Node.js Remote Interpreter (241.14494.237)
Polymer & Web Components (241.14494.237)
Prettier (241.14494.237)
React (241.14494.237)
Styled Components & Styled JSX (241.14494.237)
Stylelint (241.14494.237)
TSLint (241.14494.237)
Vite (241.14494.237)
Vue.js (241.14494.237)
Webpack (241.14494.237)
Eclipse Keymap (241.14494.237)
NetBeans Keymap (241.14494.237)
Visual Studio Keymap (241.14494.237)
VSCode Keymap (241.14494.237)
Apache config (.htaccess) (241.14494.237)
DQL (241.14494.237)
Gherkin (241.14494.237)
Ini (241.14494.237)
Makefile Language (241.14494.237)
Markdown (241.14494.237)
PHP Architecture (241.14494.237)
PHPT Support (241.14494.237)
Shell Script (241.14494.237)
YAML (241.14494.237)
Full Line Code Completion (241.14494.237)
Machine Learning Code Completion (241.14494.237)
Machine Learning in Search Everywhere (241.14494.237)
HTTP Client (241.14494.237)
OpenAPI Specifications (241.14494.237)
Drupal (241.14494.237)
Joomla! (241.14494.237)
WordPress (241.14494.237)
PHP Docker (241.14494.237)
PHP Remote Interpreter (241.14494.237)
PHP WSL Support (241.14494.237)
Rector Support (241.14494.237)
Dev Containers (241.14494.237)
Remote Development Gateway (241.14494.237)
Hunspell (241.14494.237)
CSS (241.14494.237)
Less (241.14494.237)
PostCSS (241.14494.237)
Sass (241.14494.237)
Tailwind CSS (241.14494.237)
Blade (241.14494.237)
Twig (241.14494.237)
Behat Support (241.14494.237)
Codeception Framework (241.14494.237)
Pest (241.14494.237)
PHPSpec BDD Framework (241.14494.237)
All Hallow's Eve Color Scheme (241.14494.237)
Blackboard Color Scheme (241.14494.237)
Cobalt Color Scheme (241.14494.237)
Monokai Color Scheme (241.14494.237)
PhpStorm Solarized Color Scheme (241.14494.237)
Railscasts Color Scheme (241.14494.237)
Twilight Color Scheme (241.14494.237)
VibrantInk Color Scheme (241.14494.237)
WarmNeon Color Scheme (241.14494.237)
Git (241.14494.237)
GitHub (241.14494.237)
GitLab (241.14494.237)
Mercurial (241.14494.237)
Perforce Helix Core (241.14494.237)
Subversion (241.14494.237)
3v4l Integration (241.14494.237)
Code With Me (241.14494.237)
Copyright (241.14494.237)
Diagrams (241.14494.237)
EditorConfig (241.14494.237)
File Watchers (241.14494.237)
Grazie Lite (241.14494.237)
IntelliLang (241.14494.237)
Package Checker (241.14494.237)
Performance Testing (241.14494.237)
PHP Command Line Tool (241.14494.237)
PHPStan Support (241.14494.237)
PhpStorm Workshop (241.14494.237)
Psalm Support (241.14494.237)
Qodana (241.14494.237)
Shared Project Indexes (241.14494.237)
Task Management (241.14494.237)
Terminal (241.14494.237)
TextMate Bundles (241.14494.237)
Time Tracking (241.14494.237)
WebP Support (241.14494.237)


disbaling these as per chatgpt suggest:

Vagrant, Docker, Remote Execution Agent (if you're not using remote development)

  • Rector Support, PHPSpec BDD Framework, Behat Support, Pest, etc. (if you're not using these frameworks)
  • Performance Testing, Time Tracking, Task Management (if not needed)
  • Disable additional color schemes if you're only using one.
2

请先登录再写评论。