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
20 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 15

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 26

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now