Skip to content

Commit 5f02031

Browse files
committed
Update slurm memory logging
1 parent c33a698 commit 5f02031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/src/org/labkey/cluster/pipeline/SlurmExecutionEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ else if (headerFound)
315315
long requestInBytes = FileSizeFormatter.convertStringRepresentationToBytes(getConfig().getRequestMemory() + "G"); //request is always GB
316316
if (bytes > requestInBytes)
317317
{
318-
info = "Job exceeded memory, max was: " + FileSizeFormatter.convertBytesToUnit(bytes, 'G') + "G";
318+
info = "Job exceeded memory, max was: " + FileSizeFormatter.convertBytesToUnit(bytes, 'G') + "G, requested memory was: " + getConfig().getRequestMemory() + "G";
319319

320320
PipelineStatusFile sf = PipelineService.get().getStatusFile(job.getJobId());
321321
if (sf != null)

0 commit comments

Comments
 (0)