| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7aea508 commit 6547073
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -100,7 +100,11 @@ def setUp(self): | |||
| 100 | 100 | # It will contain enough copies of self.data to reach about 8 GiB. | |
| 101 | 101 | self.datacount = 8*1024**3 // len(self.data) | |
| 102 | 102 | ||
| 103 | - # memory usage should not exceed 10 MiB | ||
| 103 | + # Memory usage should not exceed 10 MiB during repacking. | ||
| 104 | + # This empirical threshold ensures that the internal processing | ||
| 105 | + # like signature scanning, compressed block end tracing, and | ||
| 106 | + # data copying are properly buffered without loading the entire | ||
| 107 | + # large file into memory. | ||
| 104 | 108 | self.allowed_memory = 10*1024**2 | |
| 105 | 109 | ||
| 106 | 110 | def _write_large_file(self, fh): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments