<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CAST Imaging System - Configuration process on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-configuration-process/</link><description>Recent content in CAST Imaging System - Configuration process on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-configuration-process/index.xml" rel="self" type="application/rss+xml"/><item><title>CAST Imaging System - Configuration process - Memory configuration - Neo4j service failed</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-configuration-process/cast-imaging-system-configuration-process-memory-configuration-neo4j-service-failed/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-configuration-process/cast-imaging-system-configuration-process-memory-configuration-neo4j-service-failed/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose (problem description)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This page describes possible issues that may be encountered due to memory configuration of imaging.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://castsoftware.zendesk.com/attachments/token/UXZrtOVJk6afwOO2q6aKQrXQt/?name=inline536066934.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Imaging version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Imaging version&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;2..x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Step by Step scenario&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Launch Imaging&lt;/li&gt;
&lt;li&gt;Observe Neo4j service failed&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Action Plan&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you encounter the above mentioned issue then perform the following  actions :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Check the values set for below parameters from &lt;strong&gt;neo4j.conf&lt;/strong&gt; file :&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;dbms.memory.heap.initial_size
dbms.memory.heap.max_size
dbms.memory.pagecache.size&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;2. Make sure that  **dbms.memory.heap.max\_size**  and **dbms.memory.pagecache.size** is not more than 50% of your RAM size.
3. You can also run an optimization test (**memrec**) that will recommend memory allocation and database settings for you. Please follow the below steps. 
 i. Open command prompt. 
 ii. cd %PROGRAMFILES%\CAST\ImagingSystem\neo4j\bin 
 iii. Run the command **&amp;#34;neo4j-admin memrec --memory=32G&amp;#34;.**
4. Settings will be recommended as per your memory configuration. For example, below screenshot shows the result for same command in machine that has 16 GB RAM : 
 1. ![](https://doc-data.castsoftware.com/TG/attachments/566541332/635568258.png)
 2. ![](https://doc-data.castsoftware.com/TG/attachments/566541332/635568259.png)
5. Restarting the Neo4j service may not adequately reflect the configuration changes made. It is essential to update the service as well.  To update the service, run **bin\neo4j update-service**. Then restart the service to run it with the new configuration.   For  Docker restarting the container should be enough..
6. If the above steps do not solve your issue contact [CAST Technical Support](https://help.castsoftware.com/hc/en-us/requests/new). with the following [Relevant input](#CASTImagingSystemConfigurationprocessMemoryconfigurationNeo4jservicefailed-Relevantinput)

#### Relevant input

- [CAST Support Tool (CST)](https://help.castsoftware.com/hc/en-us/articles/203751708-CAST-Support-Tool-CST-alias-Sherlock) [-](https://help.castsoftware.com/hc/en-us/articles/203751708-CAST-Support-Tool-CST-alias-Sherlock) [alias Sherlock](https://help.castsoftware.com/hc/en-us/articles/203751708-CAST-Support-Tool-CST-alias-Sherlock) export with the following options **Export CAST Bases** with  Knowledge Base

- Memory configuration screenshot

**Notes/comments**

Ticket #28694

**Related Pages**
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>