Comments (1)
Thanks for reaching out. It's tricky to comment without some details about where the memory was being used. When you have situations like this, I would suggest doing the following:
- Bump your memory limit up
- Set the headroom to take up the amount you've increased the memory limit. This should give your app the same amount of memory but have a buffer of unallocated space to prevent your container from crashing.
- Enable Java NMT and watch the memory usage, in particular as you approach the old memory limit and go past it. Java NMT is very detailed so it'll show you exactly where memory is growing and from there you can see exactly why you're going over the limit.
This is a pretty old issue (so sorry for the late reply). If you or someone else are still experiencing issues please follow the steps above, open a new issue and attach a few Java NMT diff's, making sure to indicate what your new & old memory limits are so we can see what is using up the memory. Thanks!
from java-buildpack-memory-calculator.
Related Issues (20)
- Impossible to compute configuration for Boot application and 256M total memory HOT 1
- Getting java.lang.OutOfMemoryError: Java heap space when using Spring kafka to produce a message HOT 1
- Adjust ReservedCodeCacheSize HOT 1
- Getting way too low Xmx numbers with a regular Spring Boot app HOT 1
- Does option "--head-room" represents "native" memory HOT 2
- Heuristics to compute Xms (min heap size) value HOT 3
- Calculation Default Values: ReservedCodeCache is NOT 240MB? HOT 2
- Xms (minimum heap) is missing in new memory caluculator which is causing havoc in our applications.. HOT 3
- Cannot get latest version: module contains a go.mod file, so module path should be github.com/cloudfoundry/java-buildpack-memory-calculator/v4 HOT 6
- Calculated JVM memory configuration is propably wrong
- Taking into account frameworks like Dynatrace OneAgent HOT 1
- Allow to specify ratio of allocation of available memory between heap and direct memory HOT 6
- Allow to specify ratio of allocation of available memory to young generation in heap HOT 2
- Documentation link in readme is broken HOT 5
- Buildback-memory-calculator HOT 1
- Possibility to override memory instead of detection HOT 1
- Please, provide Windows compiled application HOT 1
- Question: Why is -XX:MaxDirectMemorySize set to 10M by default? HOT 1
- Provide Arm64 Executable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-buildpack-memory-calculator.