[Pharo-project] Cog issue? Re: StandardFileStream size limit?

Göran Krampe goran at krampe.se
Wed Jun 13 10:08:14 EDT 2012


Hey!

Ok, so the plot thickens:

If I run this in a "oneclick 1.4" I will get a file write error on 2Gb:

| f b |
f := StandardFileStream newFileNamed: 'test'.
b := ByteArray new: 1024*1024*100. "100Mb"
[30 timesRepeat: [f nextPutAll: b]] ensure: [f close] "3Gb"


...but it worked fine using a self built "standard" VM from squeakvm.org 
(4.4.7.2357)! Same image btw.

Now, does it work with the bleeding edge Cog? Tried r2556 and nope, same 
problem.

So I "guess" it is a Cog thing? I haven't tried building Cog from source.

regards, Göran




More information about the Pharo-dev mailing list