[squeak-dev] Another Memory Problem

Herbert König herbertkoenig at gmx.net
Tue Mar 19 06:53:23 UTC 2013


Hi all,

I will have time to look further tonight.

I have Win 7 4G of RAM.

I can allocate a ByteArray of 400M but not one of 500M regardless if I 
start with the -memory: 1024 option.

I also cannot allocate 400M and then 100M. I get the low space warning 
which repeats constantly if I click "Proceed".

Thanks to all, I will try to upload an image and changes for Eliot tonight.

Cheers,

Herbert

Am 18.03.2013 22:09, schrieb Herbert König:
> Hi,
>
> I'm no expert in crashing the VM so maybe it's me doing something stupid.
> I have a 157 MB semicolon delimited file from which I basically want 
> to create 1.5 million objects.
> Around 1.37 million I get the attached crash dump. Memory is around 530M
> Everything works fine if I only read the second half of the file.
> I tried croquet.exe -memory: 1024 without success.
>
> I read the whole file into a String and before I sprinkled the method 
> with debugging aids it looked like:
>
> initFrom: aString
>     "read the protocol file via feeding its lines into a state machine 
> each performed method returns the state for the next line"
>     |status|
>     status := #initialHeaders:.
>     aString linesDo: [:line|
>         status := self perform: status with: line].
>
> Latest Cog VM, image updated to 12333.
>
> Cheers,
>
> Herbert
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130319/40ec9f71/attachment.htm


More information about the Squeak-dev mailing list