Merge pull request #26 from anis-campos/readme-maxmem-unit

Update README.md - add MAXMEM unit
pull/27/head
aptalca 5 years ago committed by GitHub
commit e2adefb0b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -104,7 +104,7 @@ Container images are configured using parameters passed at runtime (such as thos
| `-e PUID=1000` | for UserID - see below for explanation |
| `-e PGID=1000` | for GroupID - see below for explanation |
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London. |
| `-e MAXMEM=<maxmem>` | To set the maximum memory. |
| `-e MAXMEM=<maxmem>` | To set the maximum memory. ( ex: set '1024' for 1GB )|
| `-v /config` | Config files and database for ubooquity. |
| `-v /books` | Location of books. |
| `-v /comics` | Location of comics. |
@ -140,12 +140,10 @@ This container will automatically scan your files at startup.
The quantity of memory allocated to Ubooquity depends on the hardware your are running it on. If this quantity is too small, you might sometime saturate it with when performing memory intensive operations. Thats when you get `java.lang.OutOfMemoryError:` Java heap space errors.
You can explicitly set the amount of memory Ubooquity is allowed to use (be careful to set a value lower than the actual physical memory of your hardware).
You can explicitly set the amount of memory Ubooquity is allowed to use (be careful to set a value lower than the actual physical memory of your hardware). Value is a number of megabytes ( put just a number, without MB)
If no value is set it will default to 512MB.
## Support Info
* Shell access whilst the container is running: `docker exec -it ubooquity /bin/bash`

@ -24,7 +24,7 @@ param_usage_include_net: false
param_usage_include_env: true
param_env_vars:
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
- { env_var: "MAXMEM", env_value: "<maxmem>", desc: "To set the maximum memory." }
- { env_var: "MAXMEM", env_value: "<maxmem>", desc: "To set the maximum memory. ( ex: set '1024' for 1GB )" }
param_usage_include_vols: true
param_volumes:
- { vol_path: "/config", vol_host_path: "<path to data>", desc: "Config files and database for ubooquity." }
@ -62,7 +62,7 @@ app_setup_block: |
The quantity of memory allocated to Ubooquity depends on the hardware your are running it on. If this quantity is too small, you might sometime saturate it with when performing memory intensive operations. Thats when you get `java.lang.OutOfMemoryError:` Java heap space errors.
You can explicitly set the amount of memory Ubooquity is allowed to use (be careful to set a value lower than the actual physical memory of your hardware).
You can explicitly set the amount of memory Ubooquity is allowed to use (be careful to set a value lower than the actual physical memory of your hardware). Value is a number of megabytes ( put just a number, without MB )
If no value is set it will default to 512MB.

Loading…
Cancel
Save