Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Added memory management and docker run command to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbrouse committed Aug 29, 2017
1 parent 21349bb commit 516482b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,25 @@ I've included an Upstart job in the `init` directory of this repository. This wi
## Highstock.js

The version of highstock.js is locked at 4.2.1 due to a breaking change in newer versions.

## OutOfMemory Exception

To adjust the memory allocation, add the following line to the `docker-compose.yml` file:

```
...
environment:
- GRAILS_OPTS=-server -Xmx4G -Xms1G -Dfile.encoding=UTF-8
...
```

## Docker Run Command

To launch just the Ice container via the `docker run` command, issue the following:

```
docker run -v `pwd`/ice/assets/ice.properties:/opt/ice/src/java/ice.properties \
-e GRAILS_OPTS="-server -Xms2g -Xmx2g -server" \
jonbrouse/ice \
-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Addresses -Duser.timezone=America/New_York -Dice.s3AccessKeyId=XXXXXXXXXXXXX -Dice.s3SecretKey=XXXXXXXXX run-app
```

0 comments on commit 516482b

Please sign in to comment.