Thank you for your answer Max.

But when I want to use more than 2000m memory for an image, it gave me an error saying "Insufficient memory for this image"... I thought "--memory" was some disk space I would allow the image to use...

Pierre



2014-10-27 19:42 GMT-03:00 Max Leske <maxleske@gmail.com>:

> On 27.10.2014, at 23:11, Pierre CHANSON <chans.pierre@gmail.com> wrote:
>
> Hi !
>
> anyone knows how to increase the disk allocation size for an image on Ubuntu ? I can't find the command line for that.

What do you mean by ���disk allocation���?

Here���s the --help:

./pharo --help
Usage: [<option>...] [<imageName> [<argument>...]]
�� �� �� ��[<option>...] -- [<argument>...]

Common <option>s:
�� --help�� �� �� �� �� �� �� �� ��print this help message, then exit
�� --memory <size>[mk]�� �� use fixed heap size (added to image size)
�� --headless�� �� �� �� �� �� ��run in headless (no window) mode (default: false)
�� --nohandlers�� �� �� �� �� ��disable sigsegv & sigusr1 handlers

Notes:
�� <imageName> defaults to `Pharo.image'.
�� If `--memory' is not specified then the heap will grow dynamically.
�� <argument>s are ignored, but are processed by the Squeak image.
�� The first <argument> normally names a Squeak `script' to execute.
�� Precede <arguments> by `--' to use default image.


You can set the memory for the VM with "--memory 2048m��� for instance.

Cheers,
Max

>
> Thanks !!
>
> Pierre Chanson