Comments (8)
Here's a list of the 10 largest files in the resp. KARs:
4.1.1:
9666380 repository/org/openhab/addons/bundles/org.openhab.persistence.jpa/4.1.1/org.openhab.persistence.jpa-4.1.1.jar
11688445 repository/org/openhab/addons/bundles/org.openhab.binding.jellyfin/4.1.1/org.openhab.binding.jellyfin-4.1.1.jar
13030515 repository/org/xerial/sqlite-jdbc/3.42.0.0/sqlite-jdbc-3.42.0.0.jar
27149956 repository/org/openhab/addons/bundles/org.openhab.automation.jsscripting/4.1.1/org.openhab.automation.jsscripting-4.1.1.jar
29687298 repository/org/openhab/addons/bundles/org.openhab.voice.googlestt/4.1.1/org.openhab.voice.googlestt-4.1.1.jar
32037142 repository/org/openhab/addons/bundles/org.openhab.voice.marytts/4.1.1/org.openhab.voice.marytts-4.1.1.jar
32493594 repository/org/openhab/addons/bundles/org.openhab.voice.voskstt/4.1.1/org.openhab.voice.voskstt-4.1.1.jar
33353783 repository/org/openhab/addons/bundles/org.openhab.automation.jrubyscripting/4.1.1/org.openhab.automation.jrubyscripting-4.1.1.jar
43062113 repository/org/openhab/addons/bundles/org.openhab.automation.jythonscripting/4.1.1/org.openhab.automation.jythonscripting-4.1.1.jar
4.2.0.M1:
13030515 repository/org/xerial/sqlite-jdbc/3.42.0.0/sqlite-jdbc-3.42.0.0.jar
13894191 repository/org/openhab/addons/bundles/org.openhab.binding.androidtv/4.2.0.M1/org.openhab.binding.androidtv-4.2.0.M1.jar
27150556 repository/org/openhab/addons/bundles/org.openhab.automation.jsscripting/4.2.0.M1/org.openhab.automation.jsscripting-4.2.0.M1.jar
29687355 repository/org/openhab/addons/bundles/org.openhab.voice.googlestt/4.2.0.M1/org.openhab.voice.googlestt-4.2.0.M1.jar
32037154 repository/org/openhab/addons/bundles/org.openhab.voice.marytts/4.2.0.M1/org.openhab.voice.marytts-4.2.0.M1.jar
32492950 repository/org/openhab/addons/bundles/org.openhab.voice.voskstt/4.2.0.M1/org.openhab.voice.voskstt-4.2.0.M1.jar
33442344 repository/org/openhab/addons/bundles/org.openhab.automation.jrubyscripting/4.2.0.M1/org.openhab.automation.jrubyscripting-4.2.0.M1.jar
47294266 repository/org/openhab/addons/bundles/org.openhab.automation.jythonscripting/4.2.0.M1/org.openhab.automation.jythonscripting-4.2.0.M1.jar
60962880 repository/org/openhab/addons/bundles/org.openhab.voice.pipertts/4.2.0.M1/org.openhab.voice.pipertts-4.2.0.M1.jar
I consider everything above 10MB really massive, but we can see that the sudden increase is due to the newly added pipertts with a whopping 61 MB in size (fyi @GiviMAD).
from openhab-distro.
And so androidtv and jythonscripting also increased of several MB.
from openhab-distro.
I consider everything above 10MB really massive, but we can see that the sudden increase is due to the newly added pipertts with a whopping 61 MB in size (fyi @GiviMAD).
The reason for it are the piper native dependencies (more specifically the onnxruntime dependency) which are present for multiple platforms.
I'm not sure how to proceed, would you recommend to rollback the add-on and move it to the marketplace or to create a version without the binaries included?
from openhab-distro.
@GiviMAD I'm not sure what's the best strategy. I wouldn't want to throw the add-on out and move it to the marketplace. But if there is some way to remove the binaries and have them rather as a prerequisite stored in some folder, it might be helpful here. Ideally, for the "online" use of openHAB, everything should be downloaded just as now and ready to be used. Then it would only slightly decrease the UX for "offline" / KAR users. Would you see any such option?
from openhab-distro.
@GiviMAD I'm not sure what's the best strategy. I wouldn't want to throw the add-on out and move it to the marketplace. But if there is some way to remove the binaries and have them rather as a prerequisite stored in some folder, it might be helpful here. Ideally, for the "online" use of openHAB, everything should be downloaded just as now and ready to be used. Then it would only slightly decrease the UX for "offline" / KAR users. Would you see any such option?
Yes, I think I can download the binaries from maven on initialization, I'm going to give it a try.
from openhab-distro.
Has the KAR file size been reduced significantly enough now that openhab/openhab-addons#16755 got merged @lolodomo?
from openhab-distro.
We are down to 419 MB, so I would say that the issue is resolved (acknowledging that new add-ons have been added since 4.1).
from openhab-distro.
We are down to 419 MB, so I would say that the issue is resolved (acknowledging that new add-ons have been added since 4.1).
OK
from openhab-distro.
Related Issues (20)
- openHAB 4.1.0 Milestone 5 - Docker - Slow + 100% CPU load HOT 20
- Add ZigBee, ZWave addon.xml data to /runtime/etc/addons.xml HOT 4
- Firefox not working HOT 1
- config.properties not writable in tar.gz HOT 1
- version used for launch/app/pom.xml on tags HOT 1
- Add option to configure SSH public key in $OPENHAB_CONF
- Upgrade Karaf / Jetty to address security issue HOT 2
- Not starting at all HOT 2
- Logging stops when logfile goes away on zram sync HOT 17
- Incorrect Countries and Regions HOT 1
- [audit.log] Does anything ever get logged to this? Where do failed login attempts get logged? HOT 1
- Error downloading mvn:org.openhab.addons.bundles/org.openhab.persistence.inmemory/4.2.0 HOT 2
- Build 4190 failed HOT 3
- Launching the openHAB runtime... HOT 1
- OH4.3 snapshots: Can't load features repository / Exception while querying feature
- [4.2.0] Addons fail to install due to Apache http OSGI components failing to download HOT 14
- Add the OH version number to the filename for backups created with openhab-cli
- Add environment variables for SSH al LSP ports HOT 1
- Add-on dependencies are often missing from the openHAB Maven repo
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 openhab-distro.