nio2: NIO.2 file API companion code (streaming 5 GB at -Xmx64m, handle leaks, WatchService, mmap)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KqJyCidz3ZgRyHABv2GVJh
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
$ uname -sr
|
||||
Linux 6.18.44-fc-v50
|
||||
$ nproc
|
||||
2
|
||||
$ java -version
|
||||
openjdk version "25.0.4.1" 2026-08-18 LTS
|
||||
OpenJDK Runtime Environment Temurin-25.0.4.1+1 (build 25.0.4.1+1-LTS)
|
||||
OpenJDK 64-Bit Server VM Temurin-25.0.4.1+1 (build 25.0.4.1+1-LTS, mixed mode, sharing)
|
||||
$ ulimit -n
|
||||
20000
|
||||
$ cat /proc/sys/fs/inotify/max_queued_events
|
||||
16384
|
||||
$ df -h (data directory, before)
|
||||
Filesystem Size Used Avail Use% Mounted on
|
||||
/dev/vda 252G 13G 29G 31% /
|
||||
$ df -h (data directory, after deleting is done by the exit trap; shown here before)
|
||||
Filesystem Size Used Avail Use% Mounted on
|
||||
/dev/vda 252G 18G 25G 43% /
|
||||
Reference in New Issue
Block a user