Add notes for 2018-07-01

This commit is contained in:
2018-07-01 14:34:56 +03:00
parent c6dbc8e928
commit 3910698e4f
62 changed files with 967 additions and 612 deletions

32
content/posts/2018-07.md Normal file
View File

@ -0,0 +1,32 @@
---
title: "July, 2018"
date: 2018-07-01T12:56:54+03:00
author: "Alan Orth"
tags: ["Notes"]
---
## 2018-07-01
- Test the DSpace 5.8 upgrade on DSpace Test
- First take a backup of the current database:
```
$ pg_dump -b -v -o --format=custom -U dspace -f dspace-2018-07-01.backup dspace
```
- During the `mvn package` stage I kept getting issues with java running out of memory:
```
There is insufficient memory for the Java Runtime Environment to continue.
```
- 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):
```
$ export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx1024m"
$ mvn package...
```
<!--more-->
<!-- vim: set sw=2 ts=2: -->