Added failed to allocate memory friendlier message

pull/436/head
Piero Toffanin 2018-04-15 18:29:53 -04:00
rodzic bc99937525
commit b1b6d60a1b
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -224,7 +224,8 @@ class TaskListItem extends React.Component {
if (line.indexOf("Killed") !== -1 ||
line.indexOf("MemoryError") !== -1 ||
line.indexOf("std::bad_alloc") !== -1 ||
line.indexOf("Child returned 137") !== -1){
line.indexOf("Child returned 137") !== -1 ||
line.indexOf("Failed to allocate memory") !== -1){
this.setState({memoryError: true});
}else if (line.indexOf("SVD did not converge") !== -1){
this.setState({badDatasetError: true});