Commit 17d9322
authored
in_tail: reduce the lifespan of the buffer area (#4763)
**Which issue(s) this PR fixes**:
Fixes #
**What this PR does / why we need it**:
When log files are rotated at high speed, the lifespan of `IOHandler`
objects may become extended.
Along with this, the lifespan of `@iobuf` also increases.
Since `@iobuf` uses 8 KB of memory, if many such objects exist
simultaneously, memory usage might significantly increase.
**Docs Changes**:
**Release Note**:
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>1 parent 2df84a9 commit 17d9322
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
1122 | | - | |
1123 | 1122 | | |
1124 | 1123 | | |
1125 | 1124 | | |
| |||
1201 | 1200 | | |
1202 | 1201 | | |
1203 | 1202 | | |
| 1203 | + | |
1204 | 1204 | | |
1205 | 1205 | | |
1206 | 1206 | | |
| |||
1211 | 1211 | | |
1212 | 1212 | | |
1213 | 1213 | | |
1214 | | - | |
| 1214 | + | |
1215 | 1215 | | |
1216 | 1216 | | |
1217 | 1217 | | |
| |||
0 commit comments