<?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: StackOverflowError in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169479#M122855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm afraid you hit a long outstanding Activiti bug (indeed with performOperation). When you have a huge number of steps executed in the same transaction, you will see it (99% of users never have so many).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a fix for that specific issue, but it makes half of our test suite fail … and we haven't found a better solution yet… But it's something we look into from time to time cause we really are annoyed by it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2014 08:29:12 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-01-08T08:29:12Z</dc:date>
    <item>
      <title>StackOverflowError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169477#M122853</link>
      <description>Hello, I have just come upon the following error when running a (rather large) BPM script:Caused by: java.lang.StackOverflowError&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.context.Context.getProcessEngineConfiguration(Context.java:56) [activiti-engine-5.14.jar:5.14]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.histo</description>
      <pubDate>Mon, 06 Jan 2014 16:54:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169477#M122853</guid>
      <dc:creator>thomasl</dc:creator>
      <dc:date>2014-01-06T16:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: StackOverflowError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169478#M122854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried with an increased JVM stack size (-Xss) and the problem went away. However, is it just a matter of JVM tuning or a symptom that there might be an issue with my script ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On the whole stack trace, the CommandContext.performOperation() method calls itself a large number of times. Is it a normal Activiti behavior that I need to be aware of ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 17:09:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169478#M122854</guid>
      <dc:creator>thomasl</dc:creator>
      <dc:date>2014-01-06T17:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: StackOverflowError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169479#M122855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm afraid you hit a long outstanding Activiti bug (indeed with performOperation). When you have a huge number of steps executed in the same transaction, you will see it (99% of users never have so many).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a fix for that specific issue, but it makes half of our test suite fail … and we haven't found a better solution yet… But it's something we look into from time to time cause we really are annoyed by it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 08:29:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169479#M122855</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-01-08T08:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: StackOverflowError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169480#M122856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am also experiencing the exact same problem. Have set JVM stack size to 1M but the Exception still occurs after about 20 iterations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the adequate work around, if I have to set up a multi-instance sub-process that has to iterate over a collection with about 6'000 elements?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for any help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:43:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169480#M122856</guid>
      <dc:creator>gap</dc:creator>
      <dc:date>2015-03-05T13:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: StackOverflowError</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169481#M122857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I said above still holds: its a fundamental issue in Activiti. But we're working on a solution for it (don't expect anything soonish, it's a major refactoring!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also: what is the use case for 6000 elements? Is a BPM engine the appropriate tool for this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 08:22:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/stackoverflowerror/m-p/169481#M122857</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-06T08:22:34Z</dc:date>
    </item>
  </channel>
</rss>

