[Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem

Tudor Girba tudor at tudorgirba.com
Fri Oct 4 05:26:17 EDT 2013


Hi,

As far as I can tell, you should set the limit in MBytes.

So, for 2G, you should have:
AddressSpaceLimit=2048

I am using 1GB for some Moose analyses. I benchmarked and got no sign of
slowdown.

Cheers,
Doru


On Fri, Oct 4, 2013 at 6:10 AM, Oscar EA Callaú <oalvarez at dcc.uchile.cl>wrote:

> Thanks a lot, I added****
>
> ** **
>
> AddressSpaceLimit = 2147483648****
>
> ** **
>
> To the .ini file and all is working smoothly. ****
>
> ** **
>
> FYI, I don’t have speed problems with such memory. Of course, If I’ll
> process some big data, I’ll wait a while to get the answer, but the same
> happens in any other lang/platt. Certainty, I can do fast experiments in C,
> but I don’t get all Pharo benefits, like pausing my analysis and resuming
> it later, such thing in C (or may be any other language) would require to
> store the intermediate data into files or a database. With Pharo, I don’t
> care about that.****
>
> ** **
>
> Cheers.****
>
> ** **
>
> *From:* Pharo-dev [mailto:pharo-dev-bounces at lists.pharo.org] *On Behalf
> Of *Guillermo Polito
> *Sent:* Thursday, October 3, 2013 2:37 AM
>
> *To:* Pharo Development List
> *Subject:* Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem*
> ***
>
> ** **
>
> I can only guess by the comment in the commit:****
>
> ** **
>
>
> https://gitorious.org/cogvm/blessed/commit/341e6c2e150bcde80dfea6c890bab7745b2a6d44
> ****
>
> ** **
>
> Can you check that?****
>
> ** **
>
> Guille****
>
> ** **
>
> On Thu, Oct 3, 2013 at 6:36 AM, Oscar EA Callaú <oalvarez at dcc.uchile.cl>
> wrote:****
>
> Thanks, but what would be the parameter?****
>
>  ****
>
> This is the default .ini****
>
>  ****
>
> [Global]****
>
> DeferUpdate=1****
>
> ShowConsole=0****
>
> DynamicConsole=1****
>
> ReduceCPUUsage=1****
>
> ReduceCPUInBackground=0****
>
> 3ButtonMouse=0****
>
> 1ButtonMouse=0****
>
> UseDirectSound=1****
>
> PriorityBoost=1****
>
> B3DXUsesOpenGL=0****
>
> CaseSensitiveFileMode=0****
>
>  ****
>
>  ****
>
> So there is no mention the paratemer to change or add.****
>
>  ****
>
> Cheers.****
>
>  ****
>
> *From:* Pharo-dev [mailto:pharo-dev-bounces at lists.pharo.org] *On Behalf
> Of *Guillermo Polito
> *Sent:* Friday, September 27, 2013 5:18 AM
> *To:* Pharo Development List
> *Subject:* Re: [Pharo-dev] Pharo (cog) Vm on Windows with 2GB virtual mem*
> ***
>
>  ****
>
> I think latest Pharo VM supports to change the memory limit by only
> changing an ini file. Igor did that not long ago.****
>
>  ****
>
> Cheers,****
>
> Guille****
>
>  ****
>
> On Fri, Sep 27, 2013 at 2:09 PM, Oscar E. A. Callaú <
> oalvarez at dcc.uchile.cl> wrote:****
>
> Hi Guys,****
>
>  ****
>
>    I read in this thread****
>
>  ****
>
> http://forum.world.st/out-of-memory-cog-on-windows-td3465621.html****
>
>  ****
>
>  that 512 mb limit can be avoided in windows, but a re-compilation is
> needed. I was wondering if the situation changed, and now we can pass a
> parameter. Otherwise, I would be interested if any of you has a
> pre-compiled vm with more mem.****
>
>  ****
>
> I need to run some experiments and I need 2GB (or 1.5 GB at least ) on a
> cog VM for Windows.  ****
>
>  ****
>
> Thanks in advance.****
>
>  ****
>
> Oscar****
>
>  ****
>
> ** **
>



-- 
www.tudorgirba.com

"Every thing has its own flow"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131004/cb6cb66c/attachment-0005.html>


More information about the Pharo-dev mailing list