<br><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 7:40 AM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>&gt;</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>
&gt;<br>
&gt; Hey!<br>
&gt;<br>
&gt; Ok, so the plot thickens:<br>
&gt;<br>
&gt; If I run this in a &quot;oneclick 1.4&quot; I will get a file write error on 2Gb:<br>
&gt;<br>
&gt; | f b |<br>
&gt; f := StandardFileStream newFileNamed: &#39;test&#39;.<br>
&gt; b := ByteArray new: 1024*1024*100. &quot;100Mb&quot;<br>
&gt; [30 timesRepeat: [f nextPutAll: b]] ensure: [f close] &quot;3Gb&quot;<br>
&gt;<br>
&gt;<br>
&gt; ...but it worked fine using a self built &quot;standard&quot; VM from <a href="http://squeakvm.org" target="_blank">squeakvm.org</a><br>
&gt; (4.4.7.2357)! Same image btw.<br>
&gt;<br>
&gt; Now, does it work with the bleeding edge Cog? Tried r2556 and nope, same<br>
&gt; problem.<br>
&gt;<br>
&gt; So I &quot;guess&quot; it is a Cog thing? I haven&#39;t tried building Cog from source.<br>
&gt;<br>
</div></div>&gt; regards, G?ran<br>
<br>
Background on large file support, see especially Bert&#39;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&#39;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&#39;re in a hurry build your own?  You&#39;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>