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
56 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 28

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
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 …

690 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