1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/airsonic_ynh.git synced 2024-09-03 18:06:14 +02:00

Merge pull request #21 from YunoHost-Apps/reduce_ram_usage

Reduce ram usage
This commit is contained in:
Gofannon 2020-03-26 20:54:36 +01:00 committed by GitHub
commit 40789fd259
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View file

@ -38,6 +38,8 @@ How to configure this app: by an admin panel.
#### Multi-users support #### Multi-users support
Are LDAP and HTTP auth supported? **Yes** Are LDAP and HTTP auth supported? **Yes**
* Memory RAM limit set to 256Mb because airsonic was often killed by lack of RAM (hello OOM killer)
* See <https://www.reddit.com/r/airsonic/comments/doscco/jvm_memory_issues/>
#### Supported architectures #### Supported architectures

View file

@ -8,7 +8,7 @@ AssertPathExists=__FINALPATH__
[Service] [Service]
Type=simple Type=simple
Environment="JAVA_OPTS=-Xmx700m" Environment="JAVA_OPTS=-Xmx256m"
Environment="JAVA_ARGS=" Environment="JAVA_ARGS="
EnvironmentFile=-/etc/default/__APP__ EnvironmentFile=-/etc/default/__APP__
ExecStart=/usr/bin/java \ ExecStart=/usr/bin/java \

View file

@ -6,7 +6,7 @@
"en": "Stream and manage your music collection", "en": "Stream and manage your music collection",
"fr": "Streamez et gérez votre collection de musique" "fr": "Streamez et gérez votre collection de musique"
}, },
"version": "10.5.0~ynh2", "version": "10.5.0~ynh3",
"url": "http://airsonic.github.io", "url": "http://airsonic.github.io",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"maintainer": { "maintainer": {