mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Log OutOfMemoryError with file that has currently been indexed.
This commit is contained in:
parent
bca9edfc90
commit
5472627bcc
1 changed files with 3 additions and 1 deletions
|
@ -50,8 +50,8 @@ import org.eclipse.cdt.internal.core.index.IIndexFragment;
|
|||
import org.eclipse.cdt.internal.core.index.IIndexFragmentFile;
|
||||
import org.eclipse.cdt.internal.core.index.IWritableIndex;
|
||||
import org.eclipse.cdt.internal.core.index.IndexBasedFileContentProvider;
|
||||
import org.eclipse.cdt.internal.core.parser.scanner.StreamHasher;
|
||||
import org.eclipse.cdt.internal.core.parser.scanner.InternalFileContentProvider;
|
||||
import org.eclipse.cdt.internal.core.parser.scanner.StreamHasher;
|
||||
import org.eclipse.cdt.internal.core.pdom.dom.PDOMNotImplementedError;
|
||||
import org.eclipse.core.runtime.Assert;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
|
@ -763,6 +763,8 @@ public abstract class AbstractIndexerTask extends PDOMWriter {
|
|||
th= e;
|
||||
} catch (AssertionError e) {
|
||||
th= e;
|
||||
} catch (OutOfMemoryError e) {
|
||||
th= e;
|
||||
}
|
||||
if (th != null) {
|
||||
swallowError(path, th);
|
||||
|
|
Loading…
Add table
Reference in a new issue