[Vm-dev] Re: [Pharo-project] out of memory - cog on windows

Andreas Raab andreas.raab at gmx.de
Fri May 20 15:44:04 UTC 2011


On 5/20/2011 17:19, Tudor Girba wrote:
> I am not sure I understand where we are on this issue. I will say it again that I find it to be critical to be able to work with images that are not small :).

We are nowhere on this issue. I should add that with OpenQwaq / 
Teleplace we've been running large images (300-500MB) all the time on 
Windows with no problems. And I am not at all convinced that this is 
even a VM issue; I find it more likely that there might be some platform 
dependency that causes some code to go wrong and actually eat all 
available memory. My comment below was just pointing out that your OS 
memory configuration looks perfectly normal.

What I would do in your situation is to run the code that created this 
image directly under Windows, then save and try to start it up again. If 
you get an error when you run the code, you will be able to tell whether 
it's a memory problem or not. If the image saves and starts fine again 
on Windows, you can be pretty sure that it's not a VM problem but some 
platform dependency. And then you might try to move the image to a Mac 
to see if that teaches you anything.

Cheers,
   - Andreas

> Would it be possible to find some resolution on it?
>
> Cheers,
> Doru
>
>
> On 20 May 2011, at 17:08, Andreas Raab wrote:
>
>> On 5/20/2011 16:57, Igor Stasenko wrote:
>>> Here an excert from crash.dmp:
>>>
>>> Memory Information (upon launch):
>>>          Physical Memory Size: 4194303 kbytes
>>>          Physical Memory Free: 2507424 kbytes
>>>          Page File Size: 4194303 kbytes
>>>          Page File Free: 4194303 kbytes
>>>          Virtual Memory Size: 2097024 kbytes
>>>          Virtual Memory Free: 2030280 kbytes
>>>          Memory Load: 59 percent
>>>
>>> this is strange.
>>> Of course, with sizes like above , it cannot fit into memory.
>> Nothing strange about it. Standard 4GB Ram configuration with about 2GB available.
>>
>> Cheers,
>>   - Andreas
>>
>>
>>>> Hi,
>>>>
>>>> On 18 May 2011, at 18:07, Levente Uzonyi wrote:
>>>>
>>>>> On Wed, 18 May 2011, Tudor Girba wrote:
>>>>>
>>>>> snip
>>>>>
>>>>>> I tried with several versions of Cog including the latest ones (on both platforms) and I got the same result. I did not try with an interpreter VM because I only have Cog images around (based on Pharo 1.2) and they are not compatible.
>>>>> You can use this interpreter vm to open cog images: http://leves.web.elte.hu/squeak/SqueakVM-Win32-4.4.9-2358-non-official-bin.zip
>>>> I tried with this VM, but it crashes with the attached error.
>>>>
>>>> In any case, if someone wants to reproduce it, here is an image to play with:
>>>> http://dl.dropbox.com/u/18323746/Tmp/moose-case-study-windows-problem.zip
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Levente
>>>>>
>>>>> snip
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Being happy is a matter of choice."
>>>>
>>>>
>>>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow."
>
>
>
>
>


More information about the Vm-dev mailing list