<?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 Out of Memory in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27061#M11652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue whereby the alfresco always hit an error as below:&lt;/P&gt;&lt;P&gt;Caused By:&lt;/P&gt;&lt;P&gt;org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 0221807994 Request failed 404 /solr/alfresco/alfresco?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=2147483647&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=en_US&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error will keep repeating come out for&amp;nbsp;every&amp;nbsp;30 seconds (Due ot this it will cause OOM issue) and I have no ideas how to solve it since I'm not going to stop/uninstall SOLR.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have try to perform full re-index with SOLR follow this link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/4.2/tasks/solr-reindex.html" title="http://docs.alfresco.com/4.2/tasks/solr-reindex.html" rel="nofollow noopener noreferrer"&gt;Performing a full reindex with Solr | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://docs.alfresco.com/4.2/tasks/remove-solr.html" title="http://docs.alfresco.com/4.2/tasks/remove-solr.html" rel="nofollow noopener noreferrer"&gt;Remove Solr from an Alfresco installation | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not really sure by doing the above one can solve the issue or is there any better solution to this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My findings on this issue is it will occur when the solr.xml is missing or when solr folder is deleted or missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional things that I have find out, after restarted the alfresco, the alfresco will take time to complete the re-indexing and it might slow the accessing on alfresco CMS. While completing the re-indexing, in alfresco log it will show the error like I have mentioned above. But this error will not appear after re-indexing completed (Not sure if it relate with re-indexing).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here, need any helps from someone in Alfresco community to give the better solution on this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise me. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Newbies to alfresco. Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 04:12:15 GMT</pubDate>
    <dc:creator>khairulsafie</dc:creator>
    <dc:date>2017-03-27T04:12:15Z</dc:date>
    <item>
      <title>Out of Memory</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27061#M11652</link>
      <description>Hi All,I have an issue whereby the alfresco always hit an error as below:Caused By&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 0221807994 Request failed 404 /solr/alfresco/alfresco?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=2147483647&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=en_US&amp;amp;fq=%7</description>
      <pubDate>Mon, 27 Mar 2017 04:12:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27061#M11652</guid>
      <dc:creator>khairulsafie</dc:creator>
      <dc:date>2017-03-27T04:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27062#M11653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How much memory did you assigne to the process? If you have an out of memory issue you first need to make sure you are not choking the system with your configuration and then what kind of features you are using / activating. Please also provide the error message since there can be multiple types of out of memory errors, depending on the circumstances / trigger.&lt;/P&gt;&lt;P&gt;How many documents / nodes are in your system? How complex is your data model / how many properties are you using, are you using SOLR 1, SOLR4 or SOLR6? Which Alfresco version are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:04:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27062#M11653</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-03-27T14:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27063#M11654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How much memory did you assigne to the process? &lt;BR /&gt;2g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of features you are using / activating?&lt;BR /&gt;Only as a simple document store, without workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How many documents / nodes are in your system? &lt;BR /&gt;New nodes are created for each new date. The number of documents uploaded daily is roughly 25 and average size for a single file is around 3 KB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How complex is your data model?&lt;BR /&gt;None&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How many properties are you using?&lt;BR /&gt;None (we are not configure any SOLR prop file since everything auto-config by installing alfresco itself)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using SOLR 1, SOLR4 or SOLR6? &lt;BR /&gt;Not really sure, It was installed together with Alfresco, probably SOLR 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which Alfresco version are you using? &lt;BR /&gt;Alfresco 4.2&lt;BR /&gt;Apache Tomcat 7.0.30&lt;BR /&gt;Java Development Kit (JDK) 1.7 update 7 (64-bit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional things to add here, the OOM occurred due to the error keep repeating until it causing java heap space i alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 10:20:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27063#M11654</guid>
      <dc:creator>khairulsafie</dc:creator>
      <dc:date>2017-03-28T10:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27064#M11655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, forgot to mention the error message. Here it is:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Caused by: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'run' on target class [class org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor] failed; nested exception is org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 0023839818 Request failed 404 /solr/alfresco/alfresco?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=2147483647&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=en_US&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON&lt;BR /&gt; at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:273)&lt;BR /&gt; at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)&lt;BR /&gt; at org.quartz.core.JobRunShell.run(JobRunShell.java:216)&lt;BR /&gt; ... 1 more&lt;BR /&gt;Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 0023839818 Request failed 404 /solr/alfresco/alfresco?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=2147483647&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=en_US&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON&lt;BR /&gt; at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:398)&lt;BR /&gt; at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:49)&lt;BR /&gt; at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:348)&lt;BR /&gt; at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:152)&lt;BR /&gt; at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:67)&lt;BR /&gt; at org.alfresco.repo.search.AbstractSearcherComponent.query(AbstractSearcherComponent.java:53)&lt;BR /&gt; at sun.reflect.GeneratedMethodAccessor573.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:601)&lt;BR /&gt; at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)&lt;BR /&gt; at $Proxy18.query(Unknown Source)&lt;BR /&gt; at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor$1$1.execute(PublishQueueProcessor.java:76)&lt;BR /&gt; at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)&lt;BR /&gt; at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:304)&lt;BR /&gt; at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor$1.doWork(PublishQueueProcessor.java:65)&lt;BR /&gt; at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:529)&lt;BR /&gt; at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor.run(PublishQueueProcessor.java:60)&lt;BR /&gt; at sun.reflect.GeneratedMethodAccessor610.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:601)&lt;BR /&gt; at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)&lt;BR /&gt; at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:264)&lt;BR /&gt; ... 3 more&lt;BR /&gt;Exception in thread "DefaultScheduler_QuartzSchedulerThread" Exception in thread "Timer-10" Exception in thread "RMI RenewClean-[172.22.4.156:50508]" java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;Exception in thread "RMI RenewClean-[172.22.4.156:54613,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" Exception in thread "RMI RenewClean-[172.22.4.156:41508]" 2017-01-23 09:35:47,348 ERROR [org.mortbay.log] [Timer-8] Problem scavenging sessions&lt;BR /&gt; java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt; at org.quartz.core.QuartzScheduler.getGlobalTriggerListeners(QuartzScheduler.java:1702)&lt;BR /&gt; at org.quartz.core.QuartzScheduler.buildTriggerListenerList(QuartzScheduler.java:1804)&lt;BR /&gt; at org.quartz.core.QuartzScheduler.notifyTriggerListenersMisfired(QuartzScheduler.java:1872)&lt;BR /&gt; at org.quartz.core.SchedulerSignalerImpl.notifyTriggerListenersMisfired(SchedulerSignalerImpl.java:73)&lt;BR /&gt;2017-01-23 09:35:47,349 ERROR [org.alfresco.fileserver] [TimedRequestProcessor] java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt; at org.quartz.simpl.RAMJobStore.applyMisfire(RAMJobStore.java:1194)&lt;BR /&gt; at org.quartz.simpl.RAMJobStore.acquireNextTrigger(RAMJobStore.java:1249)&lt;BR /&gt; at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264)&lt;BR /&gt;java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt;java.lang.OutOfMemoryError: Java heap space&lt;BR /&gt; at java.lang.StringCoding.encode(StringCoding.java:338)&lt;BR /&gt; at java.lang.String.getBytes(String.java:916)&lt;BR /&gt; at java.io.UnixFileSystem.canonicalize0(Native Method)&lt;BR /&gt; at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:172)&lt;BR /&gt; at java.io.File.getCanonicalPath(File.java:589)&lt;BR /&gt; at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:902)&lt;BR /&gt; at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:729)&lt;BR /&gt; at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:824)&lt;BR /&gt; at java.util.prefs.FileSystemPreferences.syncWorld(FileSystemPreferences.java:464)&lt;BR /&gt; at java.util.prefs.FileSystemPreferences.access$1200(FileSystemPreferences.java:50)&lt;BR /&gt; at java.util.prefs.FileSystemPreferences$3.run(FileSystemPreferences.java:432)&lt;BR /&gt; at java.util.TimerThread.mainLoop(Timer.java:555)&lt;BR /&gt; at java.util.TimerThread.run(Timer.java:505)&lt;BR /&gt;2017-01-23 09:35:55,775 ERROR [quartz.core.JobRunShell] [DefaultScheduler_Worker-6] Job DEFAULT.org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean#56f32655 threw an unhandled Exception: &lt;BR /&gt; org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'run' on target class [class org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.FeedbackProcessor] failed; nested exception is org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 0023839825 Request failed 404 /solr/alfresco/alfresco?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=2147483647&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=en_US&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON&lt;BR /&gt; at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:273)&lt;BR /&gt; at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)&lt;BR /&gt; at org.quartz.core.JobRunShell.run(JobRunShell.java:216)&lt;BR /&gt; at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)&lt;BR /&gt;Caused by: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 0023839825 Request failed 404 /solr/alfresco/alfresco?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=2147483647&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=en_US&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 01:37:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27064#M11655</guid>
      <dc:creator>khairulsafie</dc:creator>
      <dc:date>2017-03-29T01:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27065#M11656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just now I do testing in the following page to search lucene using empty value, I encountered this issue below:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/13137_pastedImage_2.png" style="width: 620px; height: 219px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here, I know that the issue same with the one shown in alfresco log but I'm curious how does it occur? How the job was triggered to search such lucene in solr? How can I stop this job from triggering lucene?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance Sir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khairul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 03:56:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/out-of-memory/m-p/27065#M11656</guid>
      <dc:creator>khairulsafie</dc:creator>
      <dc:date>2017-03-30T03:56:32Z</dc:date>
    </item>
  </channel>
</rss>

