[squeak-dev] Another Memory Problem
eliot.miranda at gmail.com
Mon Mar 18 23:35:57 UTC 2013
can you supply the csv file? If so I could take a look. If you can
supply the csv can you try and make the system crash by saving an image via
a doit that continues to read the file? e.g.
Smalltalk saveAs: 'crash'.
self readCSVFrom: 'foo.csv'
And then start-up crash.image and if it crashes without user intervention
point me to the image, changes and csv?
On Mon, Mar 18, 2013 at 2:09 PM, Herbert König <herbertkoenig at gmx.net>wrote:
> 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 := #initialHeaders:.
> aString linesDo: [:line|
> status := self perform: status with: line].
> Latest Cog VM, image updated to 12333.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev