| Summary: | high memory usage when copy and paste | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Michael Martin <mmartin4242> | ||||||||||
| Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||||||||
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | remy.suen | ||||||||||
| Version: | 4.2 | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Michael Martin
Created attachment 201803 [details]
Eclipse configuration information
This is the complete configuration information from Eclipse Indigo.
(In reply to comment #0) > 1. Open a file in the editor. What editor? A text editor? A Java editor? Does it happen if you copy text from a text field in some dialog window? > 2. Highlight some text. How many characters? Does it seem to matter? By 'editor' I mean editing some code in eclipse. The default editor. I've turned off auto-completion, as I saw some references (old ones) to problems with that. It made no difference.
I can highlight as little as three or four bytes, do Ctrl-C, and the heap usage just goes berserk.
The only way out of this is to kill eclipse:
JVM terminated. Exit code=1
/usr/bin/java
-XX:MaxPermSize=256m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /opt/eclipse/eclipse
-name Eclipse
--launcher.library
/opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata 1158019
-product org.eclipse.epp.package.java.product
-vmargs -Djava.library.path=/usr/lib/jni
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms2048m
-Xmx3072m
-vm /usr/bin/java
-vmargs
-XX:MaxPermSize=256m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
Created attachment 201806 [details]
Log file
Here's a log file from the latest crash.
(In reply to comment #3) > I can highlight as little as three or four bytes, do Ctrl-C, and the heap usage > just goes berserk. > > > The only way out of this is to kill eclipse: So it sounds like the memory usage goes up and Eclipse is actually stuck. Please attach a thread dump to this bug when Eclipse is hung. http://wiki.eclipse.org/index.php/How_to_report_a_deadlock Does the problem only occur for Python files? Created attachment 201810 [details]
Latest log
yes, it appears to be pydev related. I opened an existing java project, and experienced no problems with copy and paste. After the last crash, eclipse would not start at all. The splash screen was displayed, and the progress bar made it about 80%, then hung loading the workbench. I was able to restart by deleting the .metadata directory. I'm in the process of installing the plugins I need now. Created attachment 201815 [details]
thread dump
Narrowing it down a little further, neither highlighting text nor doing Ctrl-C on highlighted text cause the problem. Heap memory usage spikes when Ctrl-V is used to actually paste the copied text. Please open a bug with the developers of PyDev. PyDev is not hosted here at Eclipse.org. |