mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2018-07-01
This commit is contained in:
32
content/posts/2018-07.md
Normal file
32
content/posts/2018-07.md
Normal 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: -->
|
Reference in New Issue
Block a user