<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CSS Tools - Restore - Fatal Error on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/css-tools-component/css-tools-restore/css-tools-restore-fatal-error/</link><description>Recent content in CSS Tools - Restore - Fatal Error 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/css-tools-component/css-tools-restore/css-tools-restore-fatal-error/index.xml" rel="self" type="application/rss+xml"/><item><title>CSS Tools - Restore - Error - Could not execute query ERROR out of memory</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/css-tools-component/css-tools-restore/css-tools-restore-fatal-error/css-tools-restore-error-could-not-execute-query-error-out-of-memory/</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/css-tools-component/css-tools-restore/css-tools-restore-fatal-error/css-tools-restore-error-could-not-execute-query-error-out-of-memory/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This page provides the information for restoring the CSS2 base if you are getting &lt;strong&gt;&amp;ldquo;out of memory&amp;rdquo;&lt;/strong&gt; in the restore log.&lt;/p&gt;
&lt;p&gt;Below is the error from the restore log:&lt;/p&gt;
&lt;p&gt;pg_restore: creating INDEX idx_dssposobj&lt;br&gt;
pg_restore: [archiver (db)] Error from TOC entry 98590; 1259912714 INDEX idx_dssposobj operator&lt;br&gt;
pg_restore: [archiver (db)] could not execute query: ERROR: out of memory&lt;br&gt;
DETAIL: Failed on request of size 100663296.&lt;/p&gt;
&lt;p&gt;Command was: CREATE INDEX idx_dssposobj ON dss_positions USING btree (objectid);&lt;/p&gt;</description></item><item><title>CSS Tools - Restore - Error - Failed to load main class com.castsoftware.cssadmin.cli.BackupSchema</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/css-tools-component/css-tools-restore/css-tools-restore-fatal-error/css-tools-restore-error-failed-to-load-main-class-com-castsoftware-cssadmin-cli-backupschema/</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/css-tools-component/css-tools-restore/css-tools-restore-fatal-error/css-tools-restore-error-failed-to-load-main-class-com-castsoftware-cssadmin-cli-backupschema/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If we use the CSSRestore.exe/CSSBackup.exe from &lt;strong&gt;another folder rather than the installation folder&lt;/strong&gt; it would give the error :  Failed to load main class com.castsoftware.cssadmin.cli.BackupSchema&lt;/p&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/TG/attachments/566536549/566536548.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Applicable in CAST Version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&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;8.3.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;Applicable RDBMS&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;RDBMS&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;CSS&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;Action Plan&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When using the CSSRestore.exe/CSSBackup.exe from any other folder we need to&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Add the option &lt;strong&gt;-exedir&lt;/strong&gt; to specify the directory path of the cast installation folder.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;-exedir is used when you want to run CSSBackup.exe from outside the CAST installation folder: It allows you to specify the path to the CAST installation folder.&lt;/p&gt;</description></item></channel></rss>