Coder Social home page Coder Social logo

memory-leak-app's Introduction

LEAK Project

Sample application for test memory consumption by app

URI Description Result Example
/check Check how much memory already allocated Total 1 dishes, 1.0 MB
/eat Allocate memory with default chunk size that can be configure by environment variable APP_DISHSIZE ( Default value is 1 MB) Added 1048576 bytes
/eat/{numberOfDishes} Allocate multiples chunk
/kill Exit 9 (SIGKILL) Application Log 
 
2024-07-22 17:37:54,296 INFO [com.exa.HungryResource] (executor-thread-1) Exit with SIGKILL (9)  
2024-07-22 17:37:59,312 INFO [io.qua.thread-pool] (Shutdown thread) Awaiting thread pool shutdown; 1 thread(s) running with 0 task(s) waiting 
... 
2024-07-22 17:38:19,339 WARN [io.qua.thread-pool] (Shutdown thread) Thread pool shutdown failed: -1 threads still running 
2024-07-22 17:38:19,340 INFO [io.quarkus] (Shutdown thread) leak stopped in 25.041s
/openapi OpenAPI doc
/q/swagger-ui Swagger UI ( only included in dev mode )

Container images can be found at

  • JVM: quay.io/voravitl/leak:v1
  • Native Binary: quay.io/voravitl/leak:native

memory-leak-app's People

Contributors

voraviz avatar

Watchers

Lucian avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.