Solved

how do we specify garbaze collector parameters or use some custom garbaze collector apart from default JVM provided one

Posted on 2016-11-05
2
45 Views
Last Modified: 2016-11-14
Hi,

In java how do we specify or change garbaze collector parameters.
How use some custom garbaze collector apart from default JVM provided one. what are other options available for that. please advise
0
Comment
Question by:gudii9
2 Comments
 
LVL 16

Assisted Solution

by:gurpsbassi
gurpsbassi earned 250 total points
ID: 41875551
why are you asking this questions.....from drawing venn diagrams for conditional logic to banging your head against the wall on recursion....this is a advanced topic.

I would get the basic programming right first.
0
 
LVL 27

Accepted Solution

by:
dpearson earned 250 total points
ID: 41875591
How you control this is through parameters passed to the JVM at startup.  It's all explained here:
http://www.oracle.com/technetwork/articles/java/vmoptions-jsp-140102.html
and
http://www.cubrid.org/blog/dev-platform/how-to-tune-java-garbage-collection/

but like guarpsbassi said, this is advanced stuff.  You almost certainly will never need to tune the garbage collector and before you even begin to try you would need a very solid grasp of how Java's memory management works.  I would stick to learning how to write correct Java programs first.

Doug
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
fibonacci ten numbers 4 46
login form jsp example 2 39
Selenium docs api java index 3 48
Java Eclipse Loop 3 21
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question