[Patch] Both source files now with 512MB capacity
Klaus D. Witzel
klaus.witzel at cobss.com
Thu Jul 27 18:20:11 UTC 2006
List,
attached are two .cs files which together push the limit from 32MB to
512MB for the .sources file and the .changes file, no problem so far on
#7048. Use:
FileIn LargeSourceFilePointers-kwl.0.cs; if you filed it into an empty
changeset then select the doIt in the preabmble, otherwise select the doIt
from the fileList text view, then doIt. This doIt is essential. Note that
this fileIn will change the MethodProperties class definition, you must
accept.
Do the very same with LargeSourceFilePointers-kwl.1.cs, fileIn then doIt.
You don't need to inspect the result from the two doIts (these 204 methods
have been discussed before).
In both steps a small amount of methods is compiled and a part of the
migration is executed, doesn't take much time. Don't forget to save the
image (before; after)! The #7048 image grew 300KB here.
There is no break in compatibility with the existing .sources and .changes
files, except that *after* you passed the old 32MB limit for one of the
files, it can no longer be used by an uncoditioned image.
I'd like to receive some feedback that this works for you, all platforms,
thank you in advance. The FilePlugin was checked for the file pointer
length, it accepts up to eight byte pointers (SmallInteger and
LargeInteger).
Will do more tests (and perhaps more patches) during the next couple of
days.
/Klaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LargeSourceFilePointers-kwl.0.cs
Type: application/octet-stream
Size: 4665 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060727/b4874f79/LargeSourceFilePointers-kwl.0.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LargeSourceFilePointers-kwl.1.cs
Type: application/octet-stream
Size: 4850 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060727/b4874f79/LargeSourceFilePointers-kwl.1.obj
More information about the Squeak-dev
mailing list
|