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!

13 comments
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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

0
Comment actions Permalink

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

0
Comment actions Permalink

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

0
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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

Please sign in to leave a comment.