<?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 - Advanced configuration on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/</link><description>Recent content in CAST Imaging - Advanced configuration on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/index.xml" rel="self" type="application/rss+xml"/><item><title>Configuring Neo4j buffer size</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-neo4j-buffer-size/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-neo4j-buffer-size/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In some situations you may face an error when attempting to import applications into CAST Imaging (see &lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/imaging/installation-and-deployment-process-for-cast-imaging/installation-process-for-cast-imaging/install-cast-imaging/initial-configuration-steps-for-your-cast-imaging-instance/export-and-import-the-application-data/"&gt;Export and import the Application data&lt;/a&gt;&lt;/strong&gt;) as follows:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ERROR Import: error while importing objects, aborting import error=objects: failed to run queries to import objects: run: error running Creation of Object to Property Links cypher for APPLICATION_NAME:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;exec: unable to run cypher query: Neo4jError: Neo.DatabaseError.Statement.ExecutionFailed (Tried to read a field larger than buffer size 10000000.
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;A common cause of this is that a field has an unterminated quote and so will try to seek until the next quote, which ever line it may be on. This should not happen if multi-line fields are disabled, given that the fields contains no new-line characters. This field started at /var/lib/neo4j/import/csv/neo4j/APPLICATION_NAME_is_cfg_object_properties.csv:6891)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This error indicates that a property in the exported data has exceeded the default Neo4j maximum of 10MB - and that the application data &lt;strong&gt;failed to be imported correctly&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Configuring front-end web server to reverse proxy for multiple CAST Imaging instances</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-front-end-web-server-to-reverse-proxy-for-multiple-cast-imaging-instances/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-front-end-web-server-to-reverse-proxy-for-multiple-cast-imaging-instances/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;It is possible to configure a &lt;strong&gt;front-end web server&lt;/strong&gt; (such as &lt;strong&gt;Nginx&lt;/strong&gt; or &lt;strong&gt;Apache&lt;/strong&gt;) to act as a &lt;strong&gt;reverse proxy&lt;/strong&gt; for accessing multiple installed instances of CAST Imaging. For example your organization may have multiple instances of CAST Imaging and would like to access them with a &lt;strong&gt;simple URL&lt;/strong&gt; as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://imaging.mycompany.com/instance1"&gt;https://imaging.mycompany.com/instance1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://imaging.mycompany.com/instance2"&gt;https://imaging.mycompany.com/instance2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://imaging.mycompany.com/instance3"&gt;https://imaging.mycompany.com/instance3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="prerequisites"&gt;Prerequisites&lt;/h3&gt;
&lt;table class="wrapped confluenceTable"&gt;&lt;colgroup&gt;&lt;col/&gt;&lt;col/&gt;&lt;col/&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th class="confluenceTh"&gt;Install front-end web server&lt;/th&gt;&lt;td class="confluenceTd"&gt;✅&lt;/td&gt;&lt;td class="confluenceTd" colspan="1"&gt;&lt;div class="content-wrapper"&gt;&lt;p&gt;Install a front-end web server that can handle the &lt;strong&gt;proxy pass&lt;/strong&gt; mechanism. CAST recommends &lt;strong&gt;&lt;a href="https://www.nginx.com/" rel="nofollow" target="_blank"&gt;Nginx&lt;/a&gt;&lt;/strong&gt; installed on &lt;strong&gt;Linux&lt;/strong&gt;, however, any other web server that can handle this mechanism can be used, for example Apache.&lt;/p&gt;</description></item><item><title>Configuring http headers for source code viewer</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-http-headers-for-source-code-viewer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-http-headers-for-source-code-viewer/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;In some situations you may attempt to view the source code of an
object but the source code is never displayed despite the soure code
data source being configured correctly and other objects displaying
their source code without issue. On further investigation, a &amp;ldquo;Request header is too large&amp;rdquo; error is also seen in the sourcodeservice.log file, as follows:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;2024-05-15 09:12:13.289 INFO 5200 --- [nio-9980-exec-5] o.apache.coyote.http11.Http11Processor : Error parsing HTTP request header Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.java.lang.IllegalArgumentException: Request header is too large
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This error indicates that CAST Imaging was unable to
display the source code because the source code of the object in
question is too large and exceeds the size authorized in the API call
between the CAST Imaging UI and the back-end database. It is possible
to update the authorized file size to allow the source code of larger
objects to be displayed. This is described below.&lt;/p&gt;</description></item><item><title>Configuring huge transaction or data call graph threshold</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-huge-transaction-or-data-call-graph-threshold/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-huge-transaction-or-data-call-graph-threshold/</guid><description>&lt;p&gt;You may see the following message (&lt;strong&gt;Huge Data Call Graph/Transaction, content is not available&lt;/strong&gt;) when looking through the list of available transactions or call graphs:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/IMAGING/attachments/506759217/506759218.jpg" alt=""&gt;&lt;img src="https://doc-data.castsoftware.com/IMAGING/attachments/506759217/506759219.jpg" alt=""&gt;&lt;/p&gt;
&lt;p&gt;This indicates that during the data export/import process, the exporter tool identified that the transaction/data call graph contained more than 10,000 objects, and therefore stopped the processing action for this specific item. In other words, the detail of this transaction/data call graph has not been exported and is therefore unavailable.&lt;/p&gt;</description></item><item><title>Configuring import batch size</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-import-batch-size/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-import-batch-size/</guid><description>&lt;div class="alert alert-warning" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Note&lt;/div&gt;
&lt;p&gt;This information is only valid for &lt;strong&gt;≥ 2.0.0-beta5&lt;/strong&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: how to configure application data import batch size to improve import performance when dealing with large amounts of data.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;During the application data import process (see &lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/imaging/installation-and-deployment-process-for-cast-imaging/installation-process-for-cast-imaging/install-cast-imaging/initial-configuration-steps-for-your-cast-imaging-instance/export-and-import-the-application-data/"&gt;Export and import the Application data&lt;/a&gt;&lt;/strong&gt;), CAST Imaging is configured to import data in a batch of &lt;strong&gt;1000 rows&lt;/strong&gt; and then &lt;strong&gt;perform a commit&lt;/strong&gt;. If you have allocated additional memory to Neo4j (see &lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/optimize-neo4j-memory-allocation/"&gt;Optimize Neo4j memory allocation&lt;/a&gt;&lt;/strong&gt;) it is possible to increase the default import batch size so that data commits are performed less, therefore increasing overall import performance.&lt;/p&gt;</description></item><item><title>Configuring the audit trail</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-the-audit-trail/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-the-audit-trail/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: how to &lt;strong&gt;configure&lt;/strong&gt; the audit trail.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Out of the box in &lt;strong&gt;≥ 2.0.0&lt;/strong&gt;, CAST Imaging is configured &lt;strong&gt;automatically to log user actions&lt;/strong&gt; via an audit trail feature. In &lt;strong&gt;previous releases&lt;/strong&gt;, the audit trail is &lt;strong&gt;disabled out of the box&lt;/strong&gt; and will need manually enabling (see below). Audit trail log files are located here:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Microsoft Windows traditional installer:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;%PROGRAMFILES%\CAST\ImagingSystem\logs\audit-trail.log
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Docker Installer extension:
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;logs\audit-trail.log
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="what-is-logged-in-the-audit-trail"&gt;What is logged in the audit trail?&lt;/h2&gt;
&lt;p&gt;Any of the following GET/PUT/DELETE API actions are logged in the audit trail log:&lt;/p&gt;</description></item><item><title>Configuring the custom aggregation node limit</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-the-custom-aggregation-node-limit/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/configuring-the-custom-aggregation-node-limit/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: how to configure custom aggregation node limit.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Out of the box in &lt;strong&gt;≥ 2.17.1&lt;/strong&gt;, CAST Imaging is configured automatically to &lt;strong&gt;limit the number of nodes in a &lt;a href="https://doc.castsoftware.com/export-v2/imaging/cast-imaging-user-guide/user-guide-creating-a-custom-aggregation-mode/"&gt;custom aggregation&lt;/a&gt; to 100,000&lt;/strong&gt; (one hundred thousand) &lt;strong&gt;when the custom aggregation is configured to use an existing CAST supplied aggregation&lt;/strong&gt; (such as CAST Taxonomy, Module, Service, etc.). If the custom aggregation exceeds this value, then an error is displayed when the aggregation is created:&lt;/p&gt;</description></item><item><title>Customizing session timeout</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/customizing-session-timeout/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/customizing-session-timeout/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: how to customize the session timeout feature.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;Session timeout functions as follows:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;/th&gt;
 &lt;th&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;1&lt;/td&gt;
 &lt;td&gt;If there is no user activity (API calls) for a default period of &lt;strong&gt;30 minutes&lt;/strong&gt;, the login session will timeout. When this occurs, the following alert message will be displayed:&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;2&lt;/td&gt;
 &lt;td&gt;By default a notification period of &lt;strong&gt;20 seconds&lt;/strong&gt; will then start before the session fully expires and the user will need to re-login.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;3&lt;/td&gt;
 &lt;td&gt;After a default period of &lt;strong&gt;20 hours&lt;/strong&gt;, a session will timeout regardless of whether there is continuous user activity during this period.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="customizing-the-timeout"&gt;Customizing the timeout&lt;/h2&gt;
&lt;p&gt;You can alter all session timeout periods by editing the following files. On completion, &lt;strong&gt;save the files&lt;/strong&gt;and ensure that you restart &lt;strong&gt;all CAST Imaging services/containers&lt;/strong&gt;so that the changes are taken into account.&lt;/p&gt;</description></item><item><title>Dealing with failed to get graph data error</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/dealing-with-failed-to-get-graph-data-error/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/dealing-with-failed-to-get-graph-data-error/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;When a &lt;strong&gt;module&lt;/strong&gt; contains a &lt;strong&gt;very large number of objects&lt;/strong&gt; (for example you have configured one module for the entire application - a Full Content module - see &lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/aipconsole/aip-console-user-interface/aip-console-application-management/application-config/application-config-modules/"&gt;Application - Config - Modules&lt;/a&gt;&lt;/strong&gt;) CAST Imaging can sometimes fail to load the module, i.e. it will timeout before all the objects are correctly loaded. This issue manifests itself with the following error &amp;ldquo;&lt;strong&gt;Failed to get graph data&lt;/strong&gt;&amp;rdquo; or &amp;ldquo;&lt;strong&gt;Failed to get Transaction list&lt;/strong&gt;&amp;rdquo;:&lt;/p&gt;</description></item><item><title>Export data from one CAST Imaging instance and import into another</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/export-data-from-one-cast-imaging-instance-and-import-into-another/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/export-data-from-one-cast-imaging-instance-and-import-into-another/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: Instructions explaining how to &lt;strong&gt;export&lt;/strong&gt; application data from one CAST Imaging and &lt;strong&gt;import&lt;/strong&gt; it into another - i.e. to transfer data between CAST Imaging instances.&lt;/p&gt;
&lt;/div&gt;
&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;If you have multiple CAST Imaging instances and would like to be able to export application data from one CAST Imaging and import it into another, you can do so following the instructions below. This feature is mainly aimed at supporting pilots and assessments and also for System Integrators who support CAST Imaging for multiple customers. The tool uses a &lt;strong&gt;two-step action&lt;/strong&gt;:&lt;/p&gt;</description></item><item><title>Optimize Neo4j disk usage - cleanup and disable JVM crash dumps</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/optimize-neo4j-disk-usage-cleanup-and-disable-jvm-crash-dumps/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/optimize-neo4j-disk-usage-cleanup-and-disable-jvm-crash-dumps/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;If Neo4j crashes, the Java Virtual Machine will automatically create a &lt;strong&gt;hs_err_pidxxxx.mdmp&lt;/strong&gt; crash file in the &lt;strong&gt;Neo4j_data&lt;/strong&gt; location. These .mdmp files can be extremely large and can therefore consume a significant amount of disk space. To resolve this issue there are two options:&lt;/p&gt;
&lt;h2 id="clean-up-the-mdmp-files"&gt;Clean up the .mdmp files&lt;/h2&gt;
&lt;p&gt;The .mdmp files can safely be deleted from disk since they are not used or required by CAST Imaging.&lt;/p&gt;
&lt;h2 id="disable-jvm-crash-dumps-in-neo4jconf-file"&gt;Disable JVM crash dumps in neo4j.conf file&lt;/h2&gt;
&lt;p&gt;If you want to prevent the creation of the &lt;strong&gt;.mdmp&lt;/strong&gt; crash dump files, edit the &lt;strong&gt;neo4j.conf&lt;/strong&gt; file located here:&lt;/p&gt;</description></item><item><title>Optimize Neo4j disk usage - transaction log retention</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/optimize-neo4j-disk-usage-transaction-log-retention/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/optimize-neo4j-disk-usage-transaction-log-retention/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;By default Neo4j is set to retain transaction logs (used for database backup operations) for &lt;strong&gt;7 days&lt;/strong&gt;, however, transaction logs can grow significantly in size, increasing the overall size of the &lt;strong&gt;graph.db&lt;/strong&gt; file and therefore reduce overall performance. If you are facing disk space/performance issues due to the size of the graph.db file, you can change the transaction log retention time.&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://neo4j.com/docs/operations-manual/current/configuration/transaction-logs/"&gt;&lt;strong&gt;https://neo4j.com/docs/operations-manual/current/configuration/transaction-logs&lt;/strong&gt;/&lt;/a&gt; for more information on how to set different values. &lt;/p&gt;</description></item><item><title>Optimize Neo4j memory allocation</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/optimize-neo4j-memory-allocation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/optimize-neo4j-memory-allocation/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;By default Neo4j is set to use the following RAM:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;/th&gt;
 &lt;th&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;CAST Imaging ≥ 2.5.0&lt;/td&gt;
 &lt;td&gt;8GB of RAM memory (initial and maximum)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;CAST Imaging ≤ 2.4.x&lt;/td&gt;
 &lt;td&gt;3GB of RAM memory (initial and maximum)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;If you are facing performance issues, it is possible to modify the allocated memory. See also &lt;strong&gt;&lt;a href="https://neo4j.com/docs/operations-manual/current/performance/memory-configuration/#_considerations"&gt;https://neo4j.com/docs/operations-manual/current/performance/memory-configuration/#_considerations&lt;/a&gt;&lt;/strong&gt; for more information.&lt;/p&gt;
&lt;p&gt;How do performance issues manifest themselves?&lt;/p&gt;
&lt;p&gt;In general, a sure sign that you need to modify the RAM allocated to Neo4j is when objects fail to load in CAST Imaging - particularly if there are a large number of objects to display - this is because the query used to fetch the objects for display is not completing before a timeout occurs. This timeout will manifest itself as a 504 (gateway timeout) error in the browser. Allocating additional RAM to Neo4j can help reduce the time required to complete the query.&lt;/p&gt;</description></item><item><title>Reconfiguring the front end service to use an alternative unsecure port</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/reconfiguring-the-front-end-service-to-use-an-alternative-unsecure-port/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/reconfiguring-the-front-end-service-to-use-an-alternative-unsecure-port/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: How to change the port on which the front end service runs (&lt;strong&gt;CAST Imaging System - imaging-fe&lt;/strong&gt; Windows Service or &lt;strong&gt;nginx&lt;/strong&gt; Docker container).&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;CAST Imaging front end runs by default on &lt;strong&gt;port 80&lt;/strong&gt; in ≤ 2.0.0-beta5 or &lt;strong&gt;port 8083&lt;/strong&gt; (or the first free port available after 8083) in ≥ 2.0.0-beta6. If this port is already used by another pre-existing service you can reconfigure the service to use an alternative (for example 8080).&lt;/p&gt;</description></item><item><title>Reconfiguring the front end service to use a secure port</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/reconfiguring-the-front-end-service-to-use-a-secure-port/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/reconfiguring-the-front-end-service-to-use-a-secure-port/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Note that you should always check that the new port you intend to use is not &lt;strong&gt;ALREADY being used by some other service&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;See also &lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/reconfiguring-internal-services-to-run-on-a-custom-port/"&gt;Reconfiguring internal services to run on a custom port&lt;/a&gt;&lt;/strong&gt; if you wish to reconfigure any of the internal services to run on another &lt;strong&gt;custom port&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id="edit-nginxconf"&gt;Edit nginx.conf&lt;/h2&gt;
&lt;p&gt;CAST Imaging front end runs by default on &lt;strong&gt;port 80&lt;/strong&gt; in ≤ 2.0.0-beta5 or &lt;strong&gt;port 8083&lt;/strong&gt; (or the first free port available after 8083) in ≥ 2.0.0-beta6. To reconfigure the service to run over a secure connection (for example &lt;strong&gt;port 443&lt;/strong&gt;), edit the following file:&lt;/p&gt;</description></item><item><title>Reconfiguring internal services to run on a custom port</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/reconfiguring-internal-services-to-run-on-a-custom-port/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/reconfiguring-internal-services-to-run-on-a-custom-port/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: How to change the port on which the internal services are configured to run when using a traditional Microsoft Windows installation (not involving Docker).&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Note that you should always check that the new port you intend to use is not &lt;strong&gt;ALREADY being used by some other service&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;See also the following documentation if you wish to reconfigure the &lt;strong&gt;front-end service (port 80)&lt;/strong&gt; to run on &lt;strong&gt;port 443&lt;/strong&gt; or another &lt;strong&gt;custom port&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://doc.castsoftware.com/display/IMAGING/Reconfiguring+the+front+end+imaging-fe+Windows+service+to+use+an+alternative+unsecure+port"&gt;Reconfiguring the front end imaging-fe Windows service to use an alternative unsecure port&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/reconfiguring-the-front-end-service-to-use-a-secure-port/"&gt;Reconfiguring the front end service to use a secure port&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;p&gt;CAST Imaging has several internal services that are preconfigured to run on specific ports as detailed below:&lt;/p&gt;</description></item><item><title>Performance issues - tips</title><link>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/performance-issues-tips/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/imaging/cast-imaging-configuration-options/cast-imaging-advanced-configuration/performance-issues-tips/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: some tips/changes to make to improve the performance of your CAST Imaging instance.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;CAST Imaging is a CPU and RAM intensive application, and this is especially true if you are importing large and complex applications. The following page lists some configuration changes that may help improve performance of CAST Imaging while importing and investigating applications.&lt;/p&gt;
&lt;h2 id="display-performance"&gt;Display performance&lt;/h2&gt;
&lt;h3 id="optimize-ram-allocated-to-cast-imaging"&gt;Optimize RAM allocated to CAST Imaging&lt;/h3&gt;
&lt;p&gt;By default Neo4j is set to use the following RAM:&lt;/p&gt;</description></item></channel></rss>