tDataStewardshipTaskDelete - Fails due to java heap space error

Highlighted
Six Stars

tDataStewardshipTaskDelete - Fails due to java heap space error

Hi,

 

I am trying to delete about 130,000 tasks from a resolution campaign on a daily basis and reload the same number of tasks the next day. I understand that this is not the ideal way to use stewardship, but that is the clients requirement. When ever i try to delete the 130K tasks using the tDataStewardshipTaskDelete component, it throws a java heap space error. I am trying to load the delete records to a csv file on the jobserver. I tried to change the jvm settings on the job to use upto 2gb max. Still fails. 

 

Is there any better way to deal with this? is there any way to delete records in Batches so that we don't run into the heap space issue?

 

 

Employee

Re: tDataStewardshipTaskDelete - Fails due to java heap space error

Hi,

 

     You can extract the task lists into a file as first step. The read the file in iterative manner so that the entire data set will not be pushed to tDataStewardshipTaskDelete component in one shot.

 

     Please add the query section and other relevant sections in taskdelete component using the data from input file to filter the data properly.

 

image.png

   The response time might be more since we are doing the data deletion at row level rather than bulk level.

 

Another idea will be to push data into multiple files as batches and read one batch at a time.

 

Warm Regards,

 

Nikhil Thampi

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend Data Stewardship – What does it have to offer?

In this short series, you will see how Talend Data Stewardship transforms your employees into data citizens and enables them with self-service capabilities to control their quality data

Watch Now

Introduction to Talend Open Studio for Data Quality

Find out about Talend Open Studio for Data Quality

Watch Now

Enabling Data Governance

Learn how to enable Data Governance

Watch Now