File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ No GC options are used to speed up JSON validation for all supported builds.
137
137
``` sh
138
138
scala-cli --power package --assembly example02.sc --force -o example02.jar
139
139
ls -l ./example02.jar
140
- time ./example02.jar -J-XX:+UnlockExperimentalVMOptions -J-XX:+UseEpsilonGC -J-Xms16m -J-Xmx16m -J-XX:+AlwaysPreTouch < test.json 2> /dev/null
140
+ time ./example02.jar -J-XX:+UnlockExperimentalVMOptions -J-XX:+UseEpsilonGC -J-Xms8m -J-Xmx8m -J-XX:+AlwaysPreTouch < test.json 2> /dev/null
141
141
```
142
142
Expected output:
143
143
``` text
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ val jsonCodec: JsonValueCodec[Unit] = new JsonValueCodec[Unit] {
47
47
}
48
48
}
49
49
50
- val config = ReaderConfig .withPreferredBufSize(1024 * 1024 ).withPreferredCharBufSize(1024 * 1024 )
51
- try readFromStream(System .in, config)(jsonCodec) catch {
50
+ try readFromStream(System .in)(jsonCodec) catch {
52
51
case ex : Throwable => ex.printStackTrace(System .err)
53
52
}
You can’t perform that action at this time.
0 commit comments