<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: the code of the method is exceeding the 65535 bytes limit in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/m-p/2221164#M15275</link>
    <description>adding image again. 
&lt;BR /&gt; 
&lt;BR /&gt;In case the image is not visible my job looks like below. 
&lt;BR /&gt;tmongodbInput---&amp;gt; filter1 _----&amp;gt; filter2 ----&amp;gt;..............---&amp;gt;filter3----&amp;gt; tmongodboutput</description>
    <pubDate>Fri, 19 Dec 2014 18:49:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-19T18:49:44Z</dc:date>
    <item>
      <title>the code of the method is exceeding the 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/m-p/2221163#M15274</link>
      <description>Hello,&lt;BR /&gt;I read few other articles regarding the error message above, looks like it is a limitation in Java. I wanted to get thoughts on how to split my job or if there are any alternatives for this problem.&lt;BR /&gt;I am working with a schema of 100 columns and we have lot of rules. So far we only added five rules and we get the above error.&amp;nbsp;&lt;BR /&gt;I am attaching the job along for reference, and we are using paid version of talend big data.&lt;BR /&gt;Would using dynamic schemas help with this issue ? some other thread was mentioning that this issue is fixed in 5.6 is that true ?&lt;BR /&gt;Thanks for all the help in advance.</description>
      <pubDate>Sat, 16 Nov 2024 11:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/m-p/2221163#M15274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: the code of the method is exceeding the 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/m-p/2221164#M15275</link>
      <description>adding image again. 
&lt;BR /&gt; 
&lt;BR /&gt;In case the image is not visible my job looks like below. 
&lt;BR /&gt;tmongodbInput---&amp;gt; filter1 _----&amp;gt; filter2 ----&amp;gt;..............---&amp;gt;filter3----&amp;gt; tmongodboutput</description>
      <pubDate>Fri, 19 Dec 2014 18:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/m-p/2221164#M15275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-19T18:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: the code of the method is exceeding the 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/m-p/2221165#M15276</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you for your post! We can't see the screenshot on our side. Could you attach it on the forum, please? That would be great. 
&lt;BR /&gt; 
&lt;BR /&gt;For " 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCkWxCAK" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/td-p/74493&lt;/A&gt;" error, it's probably caused by your large number columns which generated code that exceed 65535 bytes. 
&lt;BR /&gt;Please see:http://docs.oracle.com/javase/specs/#88659 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 22 Dec 2014 10:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/m-p/2221165#M15276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-22T10:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: the code of the method is exceeding the 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/m-p/2221166#M15277</link>
      <description>Hello, 
&lt;BR /&gt;Unfortunately, your job isn't visible, but I can make some guesses about how the job is structured. &amp;nbsp;Please let me know if I'm on track! 
&lt;BR /&gt;The limitation comes from the Java class file specification and isn't specifically related to any Talend component -- although they are related, since the generated code must respect the limitation. &amp;nbsp;It usually occurs with jobs with large schemas, and the workaround is to manually force the job into several distinct steps. 
&lt;BR /&gt;I tested with a tMongoDBInput with 250 String columns, followed by 12 tFilterRows, followed by a tMongoDBOutput and the generated method is larger than the 64kB limit in Java in Talend v5.4 and v5.6. 
&lt;BR /&gt;If you need all of the columns during your filters, one workaround for breaking the job into smaller steps is to write an intermediary file to disk (after N filters) and trigger an OnSubJobOK to resume processing at the N+1'th filter. &amp;nbsp;If the dataset is small enough, you can use a tHashOutput/tHashInput pair to collect the results in memory (but this is only appropriate when the intermediary step is guaranteed to fit in memory, which depends on your filters, of course). 
&lt;BR /&gt;There's another workaround that focuses on reducing the number of columns that need to be passed around, but that depends on the input structure of your data (is it a JSON document at a single level, or with more structure?) and whether only a few columns are actually used in the filters. &amp;nbsp;Is this the case with your job? 
&lt;BR /&gt;It looks like the tMongoDBInput doesn't support the Dynamic type, unfortunately. 
&lt;BR /&gt;If the workaround doesn't suit your use case, I encourage you to file a 
&lt;A href="http://jira.talendforge.org" target="_blank" rel="nofollow noopener noreferrer"&gt;bug&lt;/A&gt;&amp;nbsp;with the specific details of your requirements. 
&lt;BR /&gt;All my best, Ryan</description>
      <pubDate>Mon, 22 Dec 2014 10:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/the-code-of-the-method-is-exceeding-the-65535-bytes-limit/m-p/2221166#M15277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-22T10:21:23Z</dc:date>
    </item>
  </channel>
</rss>

