On Tue, Jan 4, 2011 at 10:05 PM, Annick Fron <[email protected]> wrote:

>
> Le 4 janv. 2011 à 21:51, Stéphane Ducasse a écrit :
>
> > Annick
> >
> >> I have now tried the minimal images indicated by Torsten and Stephane,
> on Windows it amounts to 9.1 Mega in memory ...
> >> Would it be smaller on Linux ?
> Any idea on this ?
>

I don't think so. It should be the same.


> >> Yet, I still need a shoe horn, having only 8 M ram from which 1.5 is
> already taken by the kernel...
> >
> > do you need the sources?
> On Linux ? I had trouble installing Squeak on Linux.
>

No, Stef wanted to said the .sources file of Pharo. Did you see that you
need a Pharo1.0.sources file???
Ok, that's not needed for a deployed app since it will decompile the methods
in case you browse them (you wont have the tmp names thought),

To get rid of sources, you need to evaluate Smalltalk abandonSources




> > The minikernel image is 2 mb
> > Now you should also release the cache of MC and do several incantation
> and you can get to a more reasonable size.
>
> I am not too familiar with the environment, so it will me some time before
> I understand package loading and so on.
> I don't understand why there are shell scripts together with Smalltalk
> scripts.
>

The shell scripts are just to shrink down the PharoCore image and build a
PharoKernel from it.
You can just download the PharoKernel image (no need to run the shell
scripts, this is only if you want to build the PharoKernel by your own). But
be aware that PharoKernel is REALLY kernel. There is no UI, and the way to
interact with it is just passing a smalltalk script file at startup.



> >
> >> Any idea to downsize even more ?
> >
> > There are more to throw away and we are always trying to componentize it.
> > Did you remove the tests?
> Not yet
>

As said in my previous email, #cleanUpForProduction does that.

Cheers

mariano

>
> >
> >> Best regards
> >>
> >> Annick Fron
> >
> >
> >
>
>
>

Reply via email to