mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
catch OOM errors during scanning
This commit is contained in:
parent
8bfc987374
commit
665626a51b
|
@ -281,6 +281,7 @@ public class Scanner extends Thread {
|
||||||
if (access != Access.unknown) Scanner.this.services.put(this.service, access);
|
if (access != Access.unknown) Scanner.this.services.put(this.service, access);
|
||||||
}
|
}
|
||||||
} catch (final ExecutionException e) {
|
} catch (final ExecutionException e) {
|
||||||
|
} catch (final OutOfMemoryError e) {
|
||||||
}
|
}
|
||||||
final Object r = Scanner.this.runner.remove(this);
|
final Object r = Scanner.this.runner.remove(this);
|
||||||
assert r != null;
|
assert r != null;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user