<br><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 7:40 AM, David T. Lewis <span dir="ltr"><<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
On Wed, Jun 13, 2012 at 04:08:14PM +0200, G?ran Krampe wrote:<br>
><br>
> Hey!<br>
><br>
> Ok, so the plot thickens:<br>
><br>
> If I run this in a "oneclick 1.4" I will get a file write error on 2Gb:<br>
><br>
> | f b |<br>
> f := StandardFileStream newFileNamed: 'test'.<br>
> b := ByteArray new: 1024*1024*100. "100Mb"<br>
> [30 timesRepeat: [f nextPutAll: b]] ensure: [f close] "3Gb"<br>
><br>
><br>
> ...but it worked fine using a self built "standard" VM from <a href="http://squeakvm.org" target="_blank">squeakvm.org</a><br>
> (4.4.7.2357)! Same image btw.<br>
><br>
> Now, does it work with the bleeding edge Cog? Tried r2556 and nope, same<br>
> problem.<br>
><br>
> So I "guess" it is a Cog thing? I haven't tried building Cog from source.<br>
><br>
</div></div>> regards, G?ran<br>
<br>
Background on large file support, see especially Bert's summary:<br>
<br>
<a href="http://forum.world.st/Re-squeak-dev-filesize-reporting-0-for-very-large-files-td4483646.html" target="_blank">http://forum.world.st/Re-squeak-dev-filesize-reporting-0-for-very-large-files-td4483646.html</a><br>
<a href="http://bugs.squeak.org/view.php?id=7522" target="_blank">http://bugs.squeak.org/view.php?id=7522</a><br>
<a href="http://www.suse.de/~aj/linux_lfs.html" target="_blank">http://www.suse.de/~aj/linux_lfs.html</a><br>
<br>
I'm not sure if the Cog VMs are being compiled with the the LFS option, although<br>
I expect that if you compile it yourself with the build options that Bert explains,<br>
then it should start working.<br></blockquote><div><br></div><div>I just committed the necessary changes for my branch. Will rebuild soon. Göran, if you're in a hurry build your own? You'd need to be in <a href="http://www.squeakvm.org/svn/squeak/branches/Cog/unixbuild/bld">http://www.squeakvm.org/svn/squeak/branches/Cog/unixbuild/bld</a> and run ./mvm.</div>
</div>-- <br>best,<div>Eliot</div><br>