We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81f5c87 commit 49ce0ecCopy full SHA for 49ce0ec
cluster/src/org/labkey/cluster/pipeline/SlurmExecutionEngine.java
@@ -277,7 +277,8 @@ else if (headerFound)
277
}
278
279
280
- if (maxRssIdx > -1)
+ // NOTE: if the line has blank ending columns, trimmed lines might lack that value
281
+ if (maxRssIdx > -1 && maxRssIdx < tokens.length)
282
{
283
long bytes = FileSizeFormatter.convertStringRepresentationToBytes(tokens[maxRssIdx]);
284
long requestInBytes = FileSizeFormatter.convertBytesToUnit(getConfig().getRequestMemory(), 'G');
0 commit comments