Re: [Pharo-users] More than 500MB for windows

2013-07-10 Thread Igor Stasenko
On 10 July 2013 13:41, Tudor Girba wrote: > Wow! > > This is really exciting. > > Thanks a lot, Igor. I value this help even more knowing how you feel about > the modification. Or maybe you changed your mind in the meantime? :) > No. It just a pain, knowing that it can do better, but to do it yo

Re: [Pharo-users] More than 500MB for windows

2013-07-10 Thread Tudor Girba
Wow! This is really exciting. Thanks a lot, Igor. I value this help even more knowing how you feel about the modification. Or maybe you changed your mind in the meantime? :) Cheers, Doru On Jul 10, 2013, at 1:35 PM, Igor Stasenko wrote: > On 10 July 2013 00:07, Usman Bhatti wrote: >> Tx ig

Re: [Pharo-users] More than 500MB for windows

2013-07-10 Thread Igor Stasenko
On 10 July 2013 00:07, Usman Bhatti wrote: > Tx igor. > Now I am waiting to get hold of the new VM (with this parameter) to test on > Windows. > yes, i am building it right now on my machine to test if it works, and jenkins refuses to build it (but for other reasons, which we need to fix asap) >

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Usman Bhatti
Tx igor. Now I am waiting to get hold of the new VM (with this parameter) to test on Windows. On Tue, Jul 9, 2013 at 8:44 PM, Stéphane Ducasse wrote: > For the people that did not click on the link :) > > >- *Tree SHA1:* > 26bf913

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread p...@highoctane.be
By tweaking the plist on OSX I was able to allocate much more than what you mention. See other mails in the list. Phil On Tue, Jul 9, 2013 at 9:09 PM, Stéphane Ducasse wrote: > Ouch this is why we will have to think hard on our next priorities. > > Stef > > On Jul 9, 2013, at 3:49 PM, Esteban

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Stéphane Ducasse
Ouch this is why we will have to think hard on our next priorities. Stef On Jul 9, 2013, at 3:49 PM, Esteban Lorenzano wrote: > In fact, problem is even worst. I wanted to watch how the GC behaves over > 500m of memory occupied. > I though on a test that would create/destroy objects in a regu

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Stéphane Ducasse
+1 and we are not users. We are programmers :) Stef > I disagree. I think it is good if the VM is able to adapt so in the case > where no switch is used the VM does its best to adapt to the requirements. > But there are _always_ use cases where you need to fine-tune. If you have an > applicati

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Stéphane Ducasse
>> >> > and so i added it. But i hate doing that. Because such switch should > not exist and VM should be able to adapt to application's memory > requirements automatically, without requiring user's input. I'm like you but I built a shield of pragmatism else I would have never started pharo :)

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Stéphane Ducasse
>> > Yes, i wish we can be there today. > (And one day people will learn a difference between actual memory used > and reserved address space :) Igor this is not that we are not aware that Moose should be implemented differently but it is not simple. - the first design in 1998 was with

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Stéphane Ducasse
For the people that did not click on the link :) Tree SHA1: 26bf913 Parent SHA1: 14cc218 (- fixed save for 2.0) raw diff | raw patch Added option in windows .ini file to set the virtual memory address space limit. AddressSpaceLimit = The default is 512Mb Thanks igor. Stef On Jul 9, 2013, at

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Esteban Lorenzano
In fact, problem is even worst. I wanted to watch how the GC behaves over 500m of memory occupied. I though on a test that would create/destroy objects in a regular basis, after filling the memory. So, to start I ran this simple script (it was just a start, not the real test I thought): obje

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Stéphane Ducasse
>> >> > > If you reserve most of memory for objects, think how you could use things like > freetype, opengl, cairo & any other library which allocates memory on > conventional heap. > also, think that DLLs and kernel needs breathing space as well. But is it not the same on mac? I thought that i

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Norbert Hartl
Am 09.07.2013 um 13:43 schrieb Igor Stasenko : > On 9 July 2013 12:14, Norbert Hartl wrote: >> >> Am 09.07.2013 um 11:01 schrieb Igor Stasenko : >> >>> On 9 July 2013 10:21, Igor Stasenko wrote: On 9 July 2013 10:08, Sven Van Caekenberghe wrote: > > On 09 Jul 2013, at 10:03, Ig

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 9 July 2013 12:14, Norbert Hartl wrote: > > Am 09.07.2013 um 11:01 schrieb Igor Stasenko : > >> On 9 July 2013 10:21, Igor Stasenko wrote: >>> On 9 July 2013 10:08, Sven Van Caekenberghe wrote: On 09 Jul 2013, at 10:03, Igor Stasenko wrote: > On 9 July 2013 09:13, Stéphane

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 9 July 2013 12:12, Norbert Hartl wrote: > > Am 09.07.2013 um 10:21 schrieb Igor Stasenko : > >> On 9 July 2013 10:08, Sven Van Caekenberghe wrote: >>> >>> On 09 Jul 2013, at 10:03, Igor Stasenko wrote: >>> On 9 July 2013 09:13, Stéphane Ducasse wrote: >>> First, not all programming

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Norbert Hartl
Am 09.07.2013 um 11:01 schrieb Igor Stasenko : > On 9 July 2013 10:21, Igor Stasenko wrote: >> On 9 July 2013 10:08, Sven Van Caekenberghe wrote: >>> >>> On 09 Jul 2013, at 10:03, Igor Stasenko wrote: >>> On 9 July 2013 09:13, Stéphane Ducasse wrote: >>> First, not all programming

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Norbert Hartl
Am 09.07.2013 um 10:21 schrieb Igor Stasenko : > On 9 July 2013 10:08, Sven Van Caekenberghe wrote: >> >> On 09 Jul 2013, at 10:03, Igor Stasenko wrote: >> >>> On 9 July 2013 09:13, Stéphane Ducasse wrote: >> First, not all programming languages are like this: You can easily run >>

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 9 July 2013 10:21, Igor Stasenko wrote: > On 9 July 2013 10:08, Sven Van Caekenberghe wrote: >> >> On 09 Jul 2013, at 10:03, Igor Stasenko wrote: >> >>> On 9 July 2013 09:13, Stéphane Ducasse wrote: >> First, not all programming languages are like this: You can easily run >> other V

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 9 July 2013 10:08, Sven Van Caekenberghe wrote: > > On 09 Jul 2013, at 10:03, Igor Stasenko wrote: > >> On 9 July 2013 09:13, Stéphane Ducasse wrote: > First, not all programming languages are like this: You can easily run > other VMs (e.g., Java) with more than 3 GB. But, let's not

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Sven Van Caekenberghe
On 09 Jul 2013, at 10:03, Igor Stasenko wrote: > On 9 July 2013 09:13, Stéphane Ducasse wrote: First, not all programming languages are like this: You can easily run other VMs (e.g., Java) with more than 3 GB. But, let's not even go there: I can run Pharo with 1Gb on Mac withou

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 9 July 2013 10:01, Benjamin wrote: > > On Jul 9, 2013, at 9:16 AM, Igor Stasenko wrote: > > On 8 July 2013 22:52, Mariano Martinez Peck wrote: > > I am with Doru here. > Today, 500MB is NOTHINGG. > NOTHING. > NOTHING. > A LATOP comes with 8GB. 16x more than the max the VM can allo

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 9 July 2013 09:50, Esteban Lorenzano wrote: > > On Jul 9, 2013, at 9:22 AM, Igor Stasenko wrote: > >> On 9 July 2013 09:13, Esteban Lorenzano wrote: >>> >>> On Jul 9, 2013, at 9:10 AM, Igor Stasenko wrote: >>> On 8 July 2013 22:43, Tudor Girba wrote: > Hi, > > Igor, please

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 9 July 2013 09:13, Stéphane Ducasse wrote: >>> First, not all programming languages are like this: You can easily run >>> other VMs (e.g., Java) with more than 3 GB. But, let's not even go there: I >>> can run Pharo with 1Gb on Mac without problems. According to your reasoning >>> we might e

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Benjamin
On Jul 9, 2013, at 9:16 AM, Igor Stasenko wrote: > On 8 July 2013 22:52, Mariano Martinez Peck wrote: >> I am with Doru here. >> Today, 500MB is NOTHINGG. >> NOTHING. >> NOTHING. >> A LATOP comes with 8GB. 16x more than the max the VM can allocate. >> For one of my clients, I have j

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Esteban Lorenzano
On Jul 9, 2013, at 9:22 AM, Igor Stasenko wrote: > On 9 July 2013 09:13, Esteban Lorenzano wrote: >> >> On Jul 9, 2013, at 9:10 AM, Igor Stasenko wrote: >> >>> On 8 July 2013 22:43, Tudor Girba wrote: Hi, Igor, please get this point of view out of your system :).

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 9 July 2013 09:13, Esteban Lorenzano wrote: > > On Jul 9, 2013, at 9:10 AM, Igor Stasenko wrote: > >> On 8 July 2013 22:43, Tudor Girba wrote: >>> Hi, >>> >>> Igor, please get this point of view out of your system :). >>> >>> First, not all programming languages are like this: You can easily

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 8 July 2013 22:52, Mariano Martinez Peck wrote: > I am with Doru here. > Today, 500MB is NOTHINGG. > NOTHING. > NOTHING. > A LATOP comes with 8GB. 16x more than the max the VM can allocate. > For one of my clients, I have just set up a server with 32GB. It has 64x > than the max a P

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Stéphane Ducasse
>> First, not all programming languages are like this: You can easily run other >> VMs (e.g., Java) with more than 3 GB. But, let's not even go there: I can >> run Pharo with 1Gb on Mac without problems. According to your reasoning we >> might end up downgrading the Mac VM. Some data does not fi

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Esteban Lorenzano
On Jul 9, 2013, at 9:10 AM, Igor Stasenko wrote: > On 8 July 2013 22:43, Tudor Girba wrote: >> Hi, >> >> Igor, please get this point of view out of your system :). >> >> First, not all programming languages are like this: You can easily run other >> VMs (e.g., Java) with more than 3 GB. But,

Re: [Pharo-users] More than 500MB for windows

2013-07-09 Thread Igor Stasenko
On 8 July 2013 22:43, Tudor Girba wrote: > Hi, > > Igor, please get this point of view out of your system :). > > First, not all programming languages are like this: You can easily run other > VMs (e.g., Java) with more than 3 GB. But, let's not even go there: I can run > Pharo with 1Gb on Mac w

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread Mariano Martinez Peck
I am with Doru here. Today, 500MB is NOTHINGG. NOTHING. NOTHING. A LATOP comes with 8GB. 16x more than the max the VM can allocate. For one of my clients, I have just set up a server with 32GB. It has 64x than the max a Pharo VM can allocate. Really? Going to disk is not always a possib

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread Tudor Girba
Hi, Igor, please get this point of view out of your system :). First, not all programming languages are like this: You can easily run other VMs (e.g., Java) with more than 3 GB. But, let's not even go there: I can run Pharo with 1Gb on Mac without problems. According to your reasoning we might

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread Igor Stasenko
Same question again. And same answer (i have no other yet). Why just don't use disk memory? I know it is extra effort, but that's what all software does, when it has to deal with big amounts of data. Why in smalltalk it should be different? Of course, on your place, i would also prefer that there

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread CHRIS BAILEY
stion about pharo is welcome Cc: CHRIS BAILEY Sent: Monday, 8 July 2013, 12:46 Subject: Re: [Pharo-users] More than 500MB for windows I remember there was a thread where Andreas explains why the windows VM would not alloc more than 500 MB. I think it's quite similar if not the same to what

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread Mariano Martinez Peck
I remember there was a thread where Andreas explains why the windows VM would not alloc more than 500 MB. I think it's quite similar if not the same to what Chris has said. If this is the case, MAYBE, depending on which dlls/plugins you use, you may be safe and alloc more??? Don't know... I can sea

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread Usman Bhatti
On Mon, Jul 8, 2013 at 1:26 PM, CHRIS BAILEY wrote: > This is a standard problem on Windows whenever something tries to allocate > contiguous memory due to the way it fragments your exe's memory with it's > own dlls. I was able to get 1.4gb with some pretty nasty hacking of an exe > once by rebasi

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread Usman Bhatti
On Mon, Jul 8, 2013 at 1:11 PM, Sven Van Caekenberghe wrote: > Hi Usman, > > On 08 Jul 2013, at 13:05, Usman Bhatti wrote: > > > [I know there were some discussions on the topic and the topic of 64-bit > VM but I'm not sure where we stand today]. > > I would like to know if we can allocate more

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread CHRIS BAILEY
This is a standard problem on Windows whenever something tries to allocate contiguous memory due to the way it fragments your exe's memory with it's own dlls. I was able to get 1.4gb with some pretty nasty hacking of an exe once by rebasing the biggest offending dlls (it wasn't Pharo but the same

Re: [Pharo-users] More than 500MB for windows

2013-07-08 Thread Sven Van Caekenberghe
Hi Usman, On 08 Jul 2013, at 13:05, Usman Bhatti wrote: > [I know there were some discussions on the topic and the topic of 64-bit VM > but I'm not sure where we stand today]. > I would like to know if we can allocate more than 500MB for pharo virtual > machine in Windows? I am getting an "Out