Skip to content

Commit cf772d9

Browse files
committed
io: reduce IO_CBUF_CAPA_MIN to 8KB to lower memory usage
1 parent 1834c5e commit cf772d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ off_t __syscall(quad_t number, ...);
169169
#endif
170170

171171
#define IO_RBUF_CAPA_MIN 8192
172-
#define IO_CBUF_CAPA_MIN (128*1024)
172+
#define IO_CBUF_CAPA_MIN 8192
173173
#define IO_RBUF_CAPA_FOR(fptr) (NEED_READCONV(fptr) ? IO_CBUF_CAPA_MIN : IO_RBUF_CAPA_MIN)
174174
#define IO_WBUF_CAPA_MIN 8192
175175

0 commit comments

Comments
 (0)