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

@ -112,28 +112,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>