If it makes sense to have these parameters accessible for anyone more than a very hacker, then I strongly suggest we find the correct names for these and create meaningful name for getters/setters of them!
I haven't followed the discussion that closely, but I agree with you Cesar. Shall I add an entry in the bugtracker? Alexandre
Em 15/01/2010 07:57, Mariano Martinez Peck <marianopeck@gmail.com> escreveu:
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
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.