On Jan 15, 2010, at 10:57 , Mariano Martinez Peck wrote:
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?
The method vmParameterAt: is documented,
so :
5 allocations between GCs (read-write)
6 survivor count tenuring threshold (read-write)
24 memory threshold above which shrinking object memory (rw)
25 memory headroom when growing object memory (rw)
Cheers,
Jannik
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project