Update notes for 2018-07-01

This commit is contained in:
2018-07-01 18:05:01 +03:00
parent 3910698e4f
commit 45b86583f5
11 changed files with 309 additions and 99 deletions

View File

@ -113,28 +113,19 @@
<h2 id="2018-07-01">2018-07-01</h2>
<ul>
<li>Test the DSpace 5.8 upgrade on DSpace Test</li>
<li>First take a backup of the current database:</li>
<li>I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:</li>
</ul>
<pre><code>$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
</code></pre>
<ul>
<li>During the <code>mvn package</code> stage I kept getting issues with java running out of memory:</li>
<li>During the <code>mvn package</code> stage on the 5.8 branch I kept getting issues with java running out of memory:</li>
</ul>
<pre><code>There is insufficient memory for the Java Runtime Environment to continue.
</code></pre>
<ul>
<li>So I reduced the Tomcat memory heap from 5120m to 4096m so I could try to allocate more to the build process (machine only has 8GB of RAM):</li>
</ul>
<pre><code>$ export JAVA_OPTS=&quot;-Dfile.encoding=UTF-8 -Xmx1024m&quot;
$ mvn package...
</code></pre>
<p></p>
<a href='https://alanorth.github.io/cgspace-notes/2018-07/'>Read more →</a>
</article>

View File

@ -20,28 +20,19 @@
<description>&lt;h2 id=&#34;2018-07-01&#34;&gt;2018-07-01&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Test the DSpace 5.8 upgrade on DSpace Test&lt;/li&gt;
&lt;li&gt;First take a backup of the current database:&lt;/li&gt;
&lt;li&gt;I want to upgrade DSpace Test to DSpace 5.8 so I took a backup of its current database just in case:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;During the &lt;code&gt;mvn package&lt;/code&gt; stage I kept getting issues with java running out of memory:&lt;/li&gt;
&lt;li&gt;During the &lt;code&gt;mvn package&lt;/code&gt; stage on the 5.8 branch I kept getting issues with java running out of memory:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;There is insufficient memory for the Java Runtime Environment to continue.
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;So I reduced the Tomcat memory heap from 5120m to 4096m so I could try to allocate more to the build process (machine only has 8GB of RAM):&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;$ export JAVA_OPTS=&amp;quot;-Dfile.encoding=UTF-8 -Xmx1024m&amp;quot;
$ mvn package...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;</description>
</item>