Pharo (cog) Vm on Windows with 2GB virtual mem
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
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@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
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@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@dcc.uchile.cl <mailto:oalvarez@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
I can only guess by the comment in the commit: https://gitorious.org/cogvm/blessed/commit/341e6c2e150bcde80dfea6c890bab7745... Can you check that? Guille On Thu, Oct 3, 2013 at 6:36 AM, Oscar EA Callaú <oalvarez@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@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@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****
** **
Talking about GBs it makes me wonder , even if the image allowed more than 500MBs if that would be a wise move. Smalltalk is afterall one of the slowest , execution wise, programming languages. In python which is as slow if not slower, the attitude is to move big data to C libs and then interface with these C libs via python. When I see even morphic at times take up to 50% of my dual core 2.0GHz CPU just makes me wonder if cramming 1 GB or more inside the image will end bringing pharo to a crawl for processing that data. So what pharo may need is something that already nativeboost is doing, mapping to C types and access to fast C functions for processing and manipulating big data. Just make it more easier. For example python has numpy (mainly C code, extra types etc) and nowdays also Blaze is emerging as a future candidate. https://github.com/ContinuumIO/blaze <https://github.com/ContinuumIO/blaze> just a thought. -- View this message in context: http://forum.world.st/Pharo-cog-Vm-on-Windows-with-2GB-virtual-mem-tp4710746... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
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@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/341e6c2e150bcde80dfea6c890bab7745 b2a6d44 Can you check that? Guille On Thu, Oct 3, 2013 at 6:36 AM, Oscar EA Callaú <oalvarez@dcc.uchile.cl <mailto:oalvarez@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@lists.pharo.org <mailto:pharo-dev-bounces@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@dcc.uchile.cl <mailto:oalvarez@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
That's a great quote for marketing Pharo. Thanks Oscar. Oscar EA Callaú wrote:
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._
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@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@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/341e6c2e150bcde80dfea6c890bab7745... ****
** **
Can you check that?****
** **
Guille****
** **
On Thu, Oct 3, 2013 at 6:36 AM, Oscar EA Callaú <oalvarez@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@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@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"
thats great indeed. I would be interested to hear your experience with it when you start processing that data , maybe hint* *hint* a blog post ? :D It benefits pharo in general to have practical examples that show that pharo can be a very efficient environment and language. oscar 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@.pharo
] 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/341e6c2e150bcde80dfea6c890bab7745 b2a6d44
Can you check that?
Guille
On Thu, Oct 3, 2013 at 6:36 AM, Oscar EA Callaú <
oalvarez@.uchile
<mailto:
oalvarez@.uchile
> > 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@.pharo
<mailto:
pharo-dev-bounces@.pharo
> ] 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@.uchile
<mailto:
oalvarez@.uchile
> > 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
-- View this message in context: http://forum.world.st/Pharo-cog-Vm-on-Windows-with-2GB-virtual-mem-tp4710746... Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (6)
-
btc@openinworld.com -
Guillermo Polito -
kilon -
Oscar E. A. Callaú -
Oscar EA Callaú -
Tudor Girba