Comments (6)
You are right, it runs much better on jdk 11 than jdk 8. Thank you very much.
from komga.
The startup time is reduced to 41.714s. This is still a lot, but the program is usable. I kept the ram at 1gb as you suggested and didn't experience any problems.
from komga.
Hello,
Komga is running on Spring Boot ans Java, so it's not optimized (or not) for a specific architecture.
I didn't know so much about raspberry pi so I had to look it up, and also about the state of Java for arm processors.
Can you advise how much total ram you have on your pi, as I read there are different models?
Could you also advise which version of the jdk you are using? (version and provider like oracle jdk or open jdk).
Spring Boot is not very light by design on ram, nor is Komga, so running Komga with 512mb even on powerful hardware will usually result in out of memory exceptions from the few experiments I did.
from komga.
Thank you for the fast reply. I have a Raspberry pi 4 with 4GB RAM running open jdk, but there are other services running too. For the Raspberry, I need more lightweight solutions.
from komga.
I read some articles about Java on arm, it seems the oracle jdk was working well, but not the openjdk, at least until recently.
It seems this stackoverflow question is similar to your problem : https://stackoverflow.com/questions/48127960/spring-boot-startup-slow-on-raspberry-pi
You could try openjdk 11, Komga is compatible with jdk 11.
That should solve the startup time problem.
Then you can experiment for the ram, I would suggest 1gb if that's something you can live with, else try smaller and check if you get out of memory exceptions.
from komga.
Glad to hear that!
How long does it take to start now?
Also, please report your ram experiment if you can, I still have some plans to optimize the memory usage in the future.
from komga.
Related Issues (20)
- an error occurred while trying to retrieve directory listing HOT 6
- Support for sidecar covers in WEBP format HOT 1
- Multiple Alternate Series Management HOT 1
- Parse PDF Title, Author, Creation date and tags for metadata HOT 2
- Be able to set / use https in baseurl when running behind a reverse proxy HOT 11
- Is it possible to read the contents of metadata.opf when scanning libraries to be able to import calibre libraries? HOT 4
- Komga doesn’t scan according to application.yml on MacOS HOT 3
- Support for PDF Hyperlinks HOT 4
- Make prefixing number on books in a series optional HOT 4
- Webhook support HOT 7
- Can not read ComicInfo.xml in subfolder in cbz archive HOT 2
- wrong parsing collections from Group Series metadata with comma HOT 3
- Blank page login Komga accessing from Ipad Mini 3 on browser HOT 3
- I can't use my domain with port in opds HOT 6
- New Sort Option: Last Read
- Sort Options for Collections HOT 2
- Sqlite timeout settings does not appear to have effect sometimes HOT 3
- PDFs streaming PDF binary pages instead of images HOT 4
- "LocalizedSeries" Title for a Series in Manga Manager not Appearing in Komga HOT 4
- Configuration file suggestions HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from komga.