Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
izumisawaa
Contributor
Contributor

Positinal data that have many columns occurs the compile error.

Hi,
I am using the Java project by version 4.0.2.
I want to output the positinal data with 702 columns.
However, Talend has error
"java Code of a method longer than 65535 bytes"
(1)In MetaManeger
tFileInputPositionalProcess(Map<String,Object>)
(2)In Job
t...Input_1Process(Map<String,Object>)
Does Talend have the limitation in the number of columns of positinal data to be able ?

The positinal data with 702 columns
Fieldseparator:
4,10,8,2,8,10,4,4,60,30,48,20,48,11,7,16,20,11,11,11,11,2,2,2,6,6,8,10,1,1,2,1,5,4,4,60,6,3,8,6,1,1,1,1,1,1,1,1,1,1,1,1,8,8,6,2,2,8,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,8,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,10,10,10,10,10,10,10,10,10,10,4,4,4,4,4,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,6,2,2,8,2,8,2,8,2,8,2,8,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,16,19,16,16,16,19,16,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,19,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,19,16,16,16,16,16,16,16,16,16,16,16,16,16,16,19,19,14,14,14,14,14,14,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1

Regards
Labels (3)
6 Replies
Anonymous
Not applicable

Hi
There are so many columns in the job and lead to the size of final generated code exceed 65536 bytes.
It is a limitation of JVM(java.exe)!!!, see
http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#88659
-->The amount of code per non-native, non-abstract method is limited to 65536 bytes by the sizes
As a workaround, try to reduce the number of column if possible.
Best regards
Shong
izumisawaa
Contributor
Contributor
Author

thanks shong ,
It is a limitation of JVM(java.exe)!!!, see

That. I also know.
As a workaround, try to reduce the number of column if possible.

It is impossible.

I question again.
Does Talend have the limitation in the number of columns of positinal data to be able ?
Regards
Anonymous
Not applicable

Hi
There is no limitation in the number of columns of positional data.
- if job is too complex, redesign with less components, do a more simple job.
- if job is already simple, please create a bug on our bugtracker and upload your job, we will try to find some ways to reduce the size of generated code for you.
Best regards
Shong
izumisawaa
Contributor
Contributor
Author

Hi, shong
thank you for your ressponse.
I created a bug on our bugtracker and upload my job.
Please confirm it.
https://community.talend.com/t5/Archive/updating-tmap-after-a-update-of-sch%C3%A9ma-in-repository/td...

Regards,
Anonymous
Not applicable

izumisawaa
Contributor
Contributor
Author

Hi emaxt6
Thank you for your comment.
I understand this is impossible to do it at present.