[squeak-dev] Hit end of changes file limit

Herbert König herbertkoenig at gmx.net
Mon Jun 2 18:26:23 UTC 2008


HK> Hello Keith,


KH>> Can someone remind me where we got to on resolving this issue?
HK> Klaus D. Witzel has a 512MB Patch for Sources and changes posted here
HK> 28. July 2008.

Sorry 2006 that was and I even managed to get it attached now :-))

-- 
Cheers,

Herbert                                        
-------------- next part --------------
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:    Klaus D. Witzel <klaus.witzel at cobss.com>
To:      squeak-dev at lists.squeakfoundation.org <squeak-dev at lists.squeakfoundation.org>
Date:    Thursday, July 27, 2006, 8:20:11 PM
Subject: [Patch] Both source files now with 512MB capacity
Files:   LargeSourceFilePointers-kwl.0.cs, LargeSourceFilePointers-kwl.1.cs, Part.txt
--====----====----====----====----====----====----====----====----====----===--
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/20080602/e1ee305e/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/20080602/e1ee305e/LargeSourceFilePointers-kwl.1.obj


More information about the Squeak-dev mailing list