On Fri, Jan 15, 2010 at 10:51 AM, Laval Jannik <jannik.laval@inria.fr> wrote:
Hi,

In some case I need to run my VM with more memory.
For now, I use the parameter "-memory" when I run the VM.

Is it possible to define this value in the image ?


I think you can do something like:

SmalltalkImage current
� vmParameterAt: 5 put: 100000;
� vmParameterAt: 6 put: 35000;
� vmParameterAt: 24 put: 16 * 1024 * 1024;
� vmParameterAt: 25 put: 8 * 1024 * 1024.


But...I am not sure how to know each parameter number what exactly is. Do you know where I can get that information?

To see your current data I think you can do:

SmalltalkImage current getVMParameters���


Cheers

Mariano

Then I can use it in a script.

Cheers


---
Jannik Laval
---


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project