A problem with Java based applications is the hugh memory amount required to run the scanner. Tested were diffeent settings of the maximum memory allocation pool using the commandline option -Xmx.
| Mode | 1 | 10 | 100 | 1000 | 10000 | Memory (Mb) |
|---|---|---|---|---|---|---|
| java | 0.14 | 0.256 | 0.453 | 1.708 | 15.500 | 788 |
| java -Xmx16m | 0.174 | 0.260 | 0.436 | 1.728 | 15.598 | 290 |
| java -Xmx32m | 0.175 | 0.255 | 0.457 | 1.713 | 15.576 | 308 |
| java -Xmx64m | 0.175 | 0.254 | 0.456 | 1.713 | 15.460 | 339 |
| java -Xmx128m | 0.156 | 0.255 | 0.441 | 1.708 | 15.607 | 404 |
| java -Xmx256 | 0.156 | 0.253 | 0.421 | 1.714 | 15.520 | 532 |
| java -Xmx512 | 0.155 | 0.253 | 0.456 | 1.709 | 15.507 | 795 |

No comments yet
Comments feed for this article