1
0
Fork 0
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:
Markus Schorn 2010-03-03 14:28:47 +00:00
parent bca9edfc90
commit 5472627bcc

View file

@ -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);