Skip to content

Commit

Permalink
[SP-6594][BACKLOG-41795] Job is adding already-added log records on p…
Browse files Browse the repository at this point in the history
…arallel runs causing exponential memory leak - Backport of PDI-20199 - Spoon running out of memory while running a job (9.3 Suite) (#9600)

Co-authored-by: Tim Kafalas <[email protected]>
  • Loading branch information
ddiroma and tkafalas authored Sep 18, 2024
1 parent e115447 commit c75544e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions engine/src/main/java/org/pentaho/di/job/Job.java
Original file line number Diff line number Diff line change
Expand Up @@ -911,13 +911,6 @@ private Result execute( final int nr, Result prev_result, final JobEntryCopy job
throw threadExceptions.poll();
}

// In parallel execution, we aggregate all the results, simply add them to
// the previous result...
//
for ( Result threadResult : threadResults ) {
res.add( threadResult );
}

// If there have been errors, logically, we need to set the result to
// "false"...
//
Expand Down

0 comments on commit c75544e

Please sign in to comment.