jmemperf/README.md

15 lines
268 B
Markdown
Raw Normal View History

2023-06-28 05:29:44 +00:00
# Memory Performance Test
2023-06-28 08:40:45 +00:00
2023-06-28 05:29:44 +00:00
## Examples
Test with 8GB memory:
2023-06-28 05:29:44 +00:00
```shell
java -Xms10g -Xmx10g -XX:+AlwaysPreTouch -jar memstress-0.0.1-all.jar -t 8
2023-06-28 08:40:45 +00:00
```
Test with 100GB memory:
2023-06-28 08:40:45 +00:00
```shell
java -Xms128g -Xmx128g -XX:+AlwaysPreTouch -jar memstress-0.0.1-all.jar -t 100
2023-06-28 08:40:45 +00:00
```