Community
Participate
Working Groups
When saving a large file (in scalability mode with all options enabled) the IDE gets stuck (does not respond at least for minutes). This is not the case when I disable the editor feature of removing trailing whitespace. Here is the stack trace of the main thread while the IDE does not respond: Stack trace: org.eclipse.core.internal.filebuffers.SynchronizableDocument.get(SynchronizableDocument.java:139) - locked java.lang.Object@1f312f0 org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.updateBuffer(BufferedDocumentScanner.java:74) org.eclipse.cdt.internal.ui.text.BufferedDocumentScanner.read(BufferedDocumentScanner.java:115) org.eclipse.cdt.internal.ui.text.FastCPartitionScanner.nextToken(FastCPartitionScanner.java:127) org.eclipse.jface.text.rules.FastPartitioner.documentChanged2(FastPartitioner.java:339) org.eclipse.jface.text.AbstractDocument.updateDocumentStructures(AbstractDocument.java:672) org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:759) org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1157) org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:195) - locked java.lang.Object@1f312f0 org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1176) org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:181) - locked java.lang.Object@1f312f0 org.eclipse.text.edits.DeleteEdit.performDocumentUpdating(DeleteEdit.java:64) org.eclipse.text.edits.TextEdit.traverseDocumentUpdating(TextEdit.java:917) org.eclipse.text.edits.TextEditProcessor.executeDo(TextEditProcessor.java:194) org.eclipse.text.edits.TextEdit.dispatchPerformEdits(TextEdit.java:739) org.eclipse.text.edits.TextEditProcessor.performEdits(TextEditProcessor.java:156) org.eclipse.text.edits.TextEdit.apply(TextEdit.java:711) org.eclipse.text.edits.TextEdit.apply(TextEdit.java:735) org.eclipse.cdt.internal.ui.editor.CDocumentProvider.performSaveActions(CDocumentProvider.java:1050) org.eclipse.cdt.internal.ui.editor.CDocumentProvider.createSaveOperation(CDocumentProvider.java:960) org.eclipse.ui.editors.text.TextFileDocumentProvider.saveDocument(TextFileDocumentProvider.java:769) org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:4842) org.eclipse.ui.texteditor.AbstractTextEditor.doSave(AbstractTextEditor.java:4631) org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:6946) org.eclipse.ui.Saveable.doSave(Saveable.java:212)