we are getting code size exceeding the 65535 bytes limit error
hi,
please provide the solution for the below mentioned issue.
Issue: if i eanble CSV Option in iFileInputDelimited component, in the code for the job we are getting size exceed error.
In this job we have arround 180 field in the schema(tJavaRow component), even some time tJavaRow_2 component if we are adding more code same error we are getting. we can't able to implement more changes in this job,
please provide solution or suggession to overcome this issue.
Error Message: The code of method tFileInputDelimited_1Process(Map<String,Object>) is exceeding the 65535 bytes limit
Error Method Code: public void tFileInputDelimited_1Process(
final java.util.Map<String, Object> globalMap)
throws TalendException {
globalMap.put("tFileInputDelimited_1_SUBPROCESS_STATE", 0);
Talend Software: "Talend Integration Suite - Team Edition"
Version: 4.0.2
Thanks in advance,
G.Suresh
Hi
This is a limitation of the JVM. According to Java specifications, the amount of code for this non-native, non-abstract method is limited to a size of 65536 bytes.
That means the job has too many components or columns. Try to simplify your job or split it into several jobs.
Regards,
Pedro
Hi, thanks for your reply. You meant to say, need to split into multiple tRunJobs like main job linked with child jobs or any other split avilable in Talend Thanks, G.Suresh.
Hi pedro, other then that, is there any other solution. because i need to check if i split the job, it's not impacting existing behaviour. it's quite complex. so please give any other solution for the issue. Thanks, G.Suresh.
Hi Judging from this image, you have no choice but to split this job into several jobs. If you are using Talend Integration Suite(Commercial Version), dynamic schema might help you. But for Talend Open Studio, you have to simplify the job. Regards, Pedro