KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When I run maven-jetty-plugin, I run next command: mvn -DMAVEN_OPTS="-Xmx1024m -Xms512m" -Djetty.port=8080 jetty:run but when I try to output free heap size with Long heapFreeSize = Runtime.getRuntime().freeMemory(); It always outputs something about about 30000000. I suppose it's size in bytes, so about 30 megabytes. Why then free heap memory did not increase?
Tags (comma-separated)
Save Edits
Cancel