karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: Size of karaf distributions
Date Tue, 03 Jan 2012 13:00:32 GMT
Can't we remove more things from the minimal distribution ?
Things like management, diagnostics, kar support, etc...
If minimal isn't ... minimal, we should get rid of it.

On Mon, Jan 2, 2012 at 19:16, Jamie G. <jamie.goodyear@gmail.com> wrote:
> Running a quick diff on minimal and standard kits the largest
> difference appears to be that the standard distribution includes demos
> and a few extra jars in the system folder.
>
> org.apache.karaf.region.commands-3.0.0-SNAPSHOT.jar -> 23K
> org.apache.karaf.shell.config-3.0.0-SNAPSHOT.jar -> 43K
> org.apache.karaf.shell.services-3.0.0-SNAPSHOT.jar -> 25K
> org.apache.karaf.shell.ssh-3.0.0-SNAPSHOT.jar -> 38K
> mina-core-2.0.3.jar -> 630K
> sshd-core-0.6.0.jar -> 320K
>
> When the above is removed then this accounts for the 1Mb reduction in
> size to become 'minimal'.
>
> Looking at the largest jars in the system folder we have:
>
> 2.3M org.apache.karaf.shell.dev-3.0.0-SNAPSHOT.jar
> 1.3M osgi-3.7.1.R37x_v20110808-1106.jar
> 2.5M pax-url-aether-1.3.5.jar
>
> All other jars are under a Mb, the largest of which are:
>
> 367K org.apache.aries.blueprint.core-0.4.1-SNAPSHOT.jar
> 120K org.apache.aries.jmx-0.3.jar
> 104K org.apache.aries.util-0.5-SNAPSHOT.jar
> 206K commons-jexl-2.0.jar
> 470K org.apache.felix.framework-4.0.2.jar
> 379K org.apache.karaf.shell.console-3.0.0-SNAPSHOT.jar
> 630K mina-core-2.0.3.jar (Already cut from minimal)
> 213K org.apache.servicemix.bundles.asm-3.3_2.jar
> 320K sshd-core-0.6.0.jar (Already cut from minimal)
> 529K pax-logging-service-1.6.3.jar
> 332K pax-url-wrap-1.3.5.jar
>
> Out of all the above jars I have to wonder why o.a.k.shell.dev is
> 2.3Mb in size, it's the second largest artifact in the kit.
>
> Cheesr,
> Jamie
>
> On Mon, Jan 2, 2012 at 2:17 PM, Jean-Baptiste Onofré <jb@nanthrax.net> wrote:
>> Hi Guillaume,
>>
>> I noticed that also, but I didn't find time to investigate why.
>>
>> I will take a look tonight to make a diff between distributions.
>>
>> Thanks !!
>> Regards
>> JB
>>
>>
>> On 01/02/2012 06:17 PM, Guillaume Nodet wrote:
>>>
>>> The size of the karaf distribution has doubled between 2.x and 3.x.
>>> It's now roughly 10 Mb.
>>> Is that really worth the new features that are now embedded by default ?
>>> I think at least the minimal distribution should be much lighter ...
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Mime
View raw message