OutOfMemory on Copy/Paste operations
Using the last eap, i've witnessed a strange behavior this morning.
I tried moving some html code around in a file, using cut/paste, but when pasting a OOM dialog pops requesting ignore/shutdown.
The IDEA Memory indicator only indicates 220/350Mb though, and there does not seem to be any reason for excessive allocation (i'm just copy/pasting a "</span>" element).
The COPY operation works ok (i can paste what i copy in another applicaiton) but the paste fails
edit : when first pasting the copied text in an external editor (notepad for example), and then recopying it, I can then paste it in IDEA
Message was edited by:
Thibaut
Message was edited by:
Thibaut
请先登录再写评论。
just checked the idea.log file, there's nothing special in it, nor any RCOD
Hello Thibaut,
I cannot reproduce the case you describe. I once had different issue with
Quirks mode inspection:
http://www.jetbrains.net/jira/browse/IDEADEV-19011
It is fixed now. Maybe, this is one more case with the same inspection?
Alexander.
Hello Thibaut,
This very much sounds like a PermGen issue, not a regular OOME. Depending on what features/plugins
you work with, IDEA's default PermGen size can be a bit small. Increasing it should help.
Sascha
I can verify seeing this as well. It's moderately rare (~twice per month) and I have not been able to come up with a repro sequence. If it matters, I'm on MacOS X.
--Dave Griffith
this does not seem to be the same issue as far as I can tell, there is nothing specially weird going with memory (usage doesn't grow), but i couldn't paste anymore from Intellij to Intellij, even if
- pasting from notepad to intellij
- pasting from intellij to notepad
worked ok
my guess would be a problem with java datatransfer but i didn't check if there is any bug registered in the bug parade
Follow up : using 7269 i had to start idea using idea.bat
The permgen space error suggested by previous posters indeed showed up :
The heapdump, when zipped, is 40Mb large, would it help ?
Looks like classloader leak in maven embedder. Can you please try not
using embedded maven and see if the problem remains?
On 2007-09-09 22:09:50 +0400, Thibaut <no_reply@jetbrains.com> said:
I had a look at the hprof heapdump file using YJP, but it doesn't have any information about permgen generation, and i couldn't find any significant (to me at least) clue about an anormal number of classloaders