Resolution: Won't Fix
Affects Version/s: 6.0.0 GA, 6.1.0 GA
Fix Version/s: None
Component/s: Core (Engine)
Environment:Windows Here, but Will Crash with Any
After running a job with a loop for some time, Kettle stores "Result" objects for each iteration with a growing "logText" property. The logText contains the log's text from previous iterations of the loop with the additional text from the current iteration of the loop.
Iteration 1: Result.logText = "Hello World\n"
Iteration 2: Result.logText = "Hello World\nHello World\n"
Iteration 3: Result.logText = "Hello World\nHello World\nHello World\n"
Also, something in Kettle is hanging onto these org.pentaho.di.core.Result objects indefinitely. The heap quickly completely fills up with char for the String logText member of the Result class. It also seems to be keeping a lot of Strings for JobEntryResult type.
Kettle can detect cycles in job definitions. Is there a way to configure something so only the latest Result is kept? Or is there a configuration to disable job metric collection?