May I ask why do you need such "big" size of memory?Regards,Esteban A. Maringolo2014-10-28 10:26 GMT-03:00 Pierre CHANSON <chans.pierre@gmail.com>:all right... :(Pierre
thank you very much2014-10-28 10:23 GMT-03:00 Max Leske <maxleske@gmail.com>:On 28.10.2014, at 13:57, Pierre CHANSON <chans.pierre@gmail.com> wrote: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���nope. ������memory��� is memory. And the VM can���t allocat more than 2GB (usually). The image resides in memory during runtime and the disk has nothing to do with it.MaxPierre2014-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