GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hhontheim/java-memory: Displays current memory allocation

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
src/main/java/net/hontheim
src/main/java/net/hontheim
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Java-Memory

Build Status Codacy Badge codecov

This is a simple Java application to show the runtime's current memory allocation to test JVM flags.

Getting started

How to run

To run this application simply download the .jar-file from the releases tab. I recommend downloading latest java-memory-x.x.x-jar-with-dependencies.jar as it contains all necessary dependencies.

How to build

To build this project on your own just run

mvn clean compile assembly:single

in the project's root. Then cd to the target-folder and there you go!

What to do

Try running the .jar from shell:

java -jar java-memory-x.x.x-jar-with-dependencies.jar

Look at the runtime's max memory. Now try using 4 GB of RAM:

java -Xmx4G -jar java-memory-x.x.x-jar-with-dependencies.jar

See the difference? 😄

About

Displays current memory allocation

Topics

java-memorymemorymemory-allocation

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.