642 ObjectMemory verboseGarbageCollect. |
642 ObjectMemory verboseGarbageCollect. |
643 ! |
643 ! |
644 |
644 |
645 compressSources |
645 compressSources |
646 (self confirm:'This saves all in-memory source strings into a file |
646 (self confirm:'This saves all in-memory source strings into a file |
647 and makes methods reference these (file-) strings. |
647 and makes methods reference these (file-) strings, |
|
648 freeing all in-memory sources. |
648 |
649 |
649 If that source file is ever lost or gets out of sync with |
650 If that source file is ever lost or gets out of sync with |
650 your system, those method sources are lost and the browser |
651 your system, those method sources are lost and the browser |
651 will show garbage. |
652 will show garbage. |
652 However, you still have a change file as backup. |
653 However, you still have a change file as backup. |
653 |
654 |
654 (Be especially careful, if you move images around: |
655 (Be especially careful, if you move images around: |
655 the source file must then be correct one for that image) |
656 the source file must then be the correct one for that image) |
656 |
657 |
657 A compress is only useful, if you added many methods |
658 A compress is only useful, if you added many methods |
658 and the systems response time suffers from paging. |
659 and the systems response time suffers from paging. |
659 |
660 |
660 Compress anyway ?') ifTrue:[ |
661 Compress anyway ?') ifTrue:[ |
662 Smalltalk compressSources. |
663 Smalltalk compressSources. |
663 ObjectMemory markAndSweep |
664 ObjectMemory markAndSweep |
664 ] |
665 ] |
665 ] |
666 ] |
666 |
667 |
667 "Modified: 2.1.1996 / 12:17:23 / cg" |
668 "Modified: 9.2.1996 / 18:17:22 / cg" |
668 ! |
669 ! |
669 |
670 |
670 compressingGarbageCollect |
671 compressingGarbageCollect |
671 "perform a blocking compressing garbage collect." |
672 "perform a blocking compressing garbage collect." |
672 |
673 |