Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
2a0ea6c1
Commit
2a0ea6c1
authored
Mar 15, 2015
by
Matthieu Muffato
Browse files
Automatic dataflow on #-1 for Java OutOfMemory errors
parent
67390b38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/Bio/EnsEMBL/Hive/RunnableDB/SystemCmd.pm
modules/Bio/EnsEMBL/Hive/RunnableDB/SystemCmd.pm
+6
-0
No files found.
modules/Bio/EnsEMBL/Hive/RunnableDB/SystemCmd.pm
View file @
2a0ea6c1
...
...
@@ -170,6 +170,12 @@ sub write_output {
$self
->
complete_early
(
sprintf
("
The command exited with code %d, which is mapped to a dataflow on branch #%d.
\n
",
$return_value
,
$branch_number
));
}
if
(
$stderr
=~
/Exception in thread ".*" java.lang.OutOfMemoryError: Java heap space at/
)
{
$self
->
dataflow_output_id
(
$self
->
input_id
,
-
1
);
$self
->
input_job
->
autoflow
(
0
);
$self
->
complete_early
("
Java heap space is out of memory.
\n
");
}
die
sprintf
(
"
'%s' resulted in an error code=%d
\n
stderr is: %s
\n
",
$flat_cmd
,
$return_value
,
$stderr
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment