Merge pull request #436 from pierotofy/bugfixes

Added failed to allocate memory friendlier message
pull/437/head
Piero Toffanin 2018-04-15 19:12:17 -04:00 zatwierdzone przez GitHub
commit 2d15ff113c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
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});