# FarCry SolrPro - Java memory errors

**URL:** <https://discourse.farcrycore.org/t/farcry-solrpro-java-memory-errors/1157>\
**Category:** dev\
**Created:** [November 16, 2017, 10:01pm UTC](https://discourse.farcrycore.org/t/farcry-solrpro-java-memory-errors/1157 "2017-11-16T22:01:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dckalorama](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/dckalorama/32/1225_2.png) [@dckalorama](https://discourse.farcrycore.org/u/dckalorama)\
**Post date:** [November 16, 2017, 10:01pm UTC](https://discourse.farcrycore.org/t/farcry-solrpro-java-memory-errors/1157/1 "2017-11-16T22:01:12Z")

</div>

I’m trying to us the FarCry SolrPro plugin in a Docker container using FarCry 7.2.9 and Lucee 5.2.3.35 . I’m running into the following error - Java heap space / java.lang.OutOfMemoryError . I tried to increase the minimum and maximum RAM in the solr start up script and then passing in switches in the java command:

`java -Dsolr.solr.home=multicore -Xms512M -Xmx1024M -jar start.jar`

When I run docker stats on the box, the container is no where near the 12G limit. The only change I made from the github repository is changing the tika version to 1.16 (after i had downloaded it to the server). I was getting the "Magic match pattern is null " error with tika 2 .

Any ideas on what to try next?

Thanks,

- JR

---

<div class="post-metadata">

**Author:** ![ajmercer](https://discourse.farcrycore.org/user_avatar/discourse.farcrycore.org/ajmercer/32/1173_2.png) [@ajmercer](https://discourse.farcrycore.org/u/ajmercer)\
**Post date:** [November 18, 2017, 12:19pm UTC](https://discourse.farcrycore.org/t/farcry-solrpro-java-memory-errors/1157/2 "2017-11-18T12:19:00Z")

</div>

This Pull Request may help

> <https://github.com/jeffcoughlin/farcrysolrpro/pull/77>
>
> This is for compatibility with Lucee 5.x. Also a component tag was missing in cf…solrlib.cfc which Lucee 5 didn't like. Have also tested on ACF11Ent.
