How much should be the initial size of the young generation? How much should be -XX:+NewRatio? -XX:+SurvivourRatio? What should be the ratio between perm and old generation.?
Is there any basic gc generation size and ratios for application in production
134 Views Asked by John At
1
There are 1 best solutions below
Related Questions in MEMORY-MANAGEMENT
- Calling Dealloc method in sprite kit
- Allocating memory for pointers inside structures in functions
- Beginner iOS memory management
- Deleting a dynamically allocated 2D array
- DataTable does not release memory
- how to resize image properly without memory warning
- Application Verifier limits Heap Allocations by default?
- C++ assign const reference to instance variable (memory issues?)
- What memory issues may arise from a single page JavaScript/AJAX application when kept open over a period of months?
- How to increase PHP memory_limit in Debian Jessie?
- Is this correct point to free char*
- Using parse.com and having allocation memory issue
- Qt object ownership when using lambda as slot
- Any ideas why one object is not deallocated in objective-c ARC
- How do I set a buffer in a possibly recursive procedure?
Related Questions in GARBAGE-COLLECTION
- JVM is functioning very differently with same flags
- Why WeakReference to a WeakRef object is not garbage collected?
- GC cleaning the object before calling onPictureTaken method
- Know what objects got garbage collected
- Practical case JVM tunning to avoid full GC
- GC overhead limit exceed when reading large file
- Can java string literals be garbage collected?. If Yes, how to prove it?
- G1 doesn't process soft references
- why do I have to swapCursor(null) in onLoaderReset?
- Is it safe to assume static variables never get cleared?
- JVM ClassUnloadingWithConcurrentMark flag
- Java 8 Metaspace - Avoid decrease
- node.js memory usage issue
- G1GC Strange behavior
- Exposing whether an application is undergoing GC via UDP
Related Questions in HEAP-MEMORY
- C++ Pointer Object Location
- Interpretation of java hprof histogram
- Application Verifier limits Heap Allocations by default?
- How do I release images and avoid outOfMemory exc-n when navigating back and forth between activities[android]
- Is an attempt to modify a const_cast-ed, but dynamically allocated constant object still undefined behavior?
- Constant container (map) - eliminate heap allocation
- OutOfMemoryError: Java heap space MultipartRequest
- Predictionio evaluation fails with empty.maxBy exception and training with java.lang.OutOfMemoryError
- Two versions of the same java program out of which one is throwing Out of Memory Error and other one is not. Not able to get to know why?
- Heap - How free bytes are tracked?
- AngularJs $scope.$destroy(). How to use?
- Segmentation fault - Invalid free unresolved - C
- Query, if a heap is executable
- WA_DeleteOnClose delete all members?
- How to find the default Java 1.4.2 heap size in AIX
Related Questions in JHAT
- jhat OQL AND in where clause
- Can I set up profiles like jhat or jmap to take snapshots at regular intervals or whenever exception is detected
- Loading a large hprof into jhat
- learning sites for fixing java memory leaks
- Object returned from OQL query in jhat does not match query
- How do I analyze a Java heap dump when local memory is less than the size of the dumped heap?
- JHAT not able to analyze 40 gb dump file even after giving 70 GBs of heap size
- Export (or serialize) object from Java Heap Dump
- How to find memory leaks in my Java application
- Better ways to identify objects not getting garbage collected?
- JHAT cannot analyze a memory dump
- Why doesn't the -baseline option of jhat work?
- What does the class class [B represents in Java?
- OQL for finding new objects only in heap dumps?
- Why is usage of javascript within visualvm (jhat?) oql sometimes confusing?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Every application is different. Your best bet is to measure it yourself!
Create an automated test case which runs through a typical use case for your application. Call this from a shell script which creates random permutations of generation sizes, making sure to keep track of how long it runs for with
time. Hold on to the fastest 10 and output them when ctrl+c is pressed.Leave the script running overnight.
You'll have your answer in the morning =)