<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://www.xlayer.co.za/forum/extern.php?action=feed&amp;tid=92&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[SXI Forum / X-EventCollector TimerTask execution failed unexpectedly: null]]></title>
		<link>https://www.xlayer.co.za/forum/viewtopic.php?id=92</link>
		<description><![CDATA[The most recent posts in X-EventCollector TimerTask execution failed unexpectedly: null.]]></description>
		<lastBuildDate>Mon, 05 Aug 2019 10:53:57 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[X-EventCollector TimerTask execution failed unexpectedly: null]]></title>
			<link>https://www.xlayer.co.za/forum/viewtopic.php?pid=147#p147</link>
			<description><![CDATA[<p>If the X-EventCollector logs give an error that looks as follows:</p><div class="codebox"><pre><code>00:00:00.000 - TRACE - Successfully opened the mail folder Inbox to search for mails matching the given search terms
00:00:00.000 - ERROR - TimerTask execution failed unexpectedly: null
java.lang.StackOverflowError: null
	at javax.mail.search.AndTerm.match(AndTerm.java:109)
	at javax.mail.search.AndTerm.match(AndTerm.java:109)
	at javax.mail.search.AndTerm.match(AndTerm.java:109)
	at javax.mail.search.AndTerm.match(AndTerm.java:109)
	at javax.mail.search.AndTerm.match(AndTerm.java:109)</code></pre></div><p>If you restart the X-EventCollector service it should work again. The cause of this is that X-EventCollector used more memory then it was <strong>CONFIGURED</strong> to. </p><p>To change this configuration go to the <strong>&quot;SXI\X-EventCollector\bin&quot;</strong> directory and edit a file named <strong>&quot;X-EventCollector.vmoptions&quot;</strong>.</p><p>The contents of the file will look as follows:</p><div class="codebox"><pre><code># Enter one VM parameter per line
# For example, to adjust the maximum memory usage to 512 MB, uncomment the following line:
# -Xmx512m
# To include another file, uncomment the following line:
# -include-options [path to other .vmoption file]</code></pre></div><p>&#160; </p><p>Uncomment the 3rd line that contains <strong>&quot;# -Xmx512m&quot;</strong> by removing the <strong>&quot;#&quot;</strong> and then adjust the amount of memory that X-EventCollector can use. e.g. from <strong>&quot;512m&quot;</strong> to <strong>&quot;1024m&quot;</strong> (1gb).</p><p>Once the above steps are completed restart the X-EventCollector service and it should work.</p>]]></description>
			<author><![CDATA[dummy@example.com (MarekR)]]></author>
			<pubDate>Mon, 05 Aug 2019 10:53:57 +0000</pubDate>
			<guid>https://www.xlayer.co.za/forum/viewtopic.php?pid=147#p147</guid>
		</item>
	</channel>
</rss>
