answersLogoWhite

0


Best Answer

when a program consumes memory but is unable to release it back is known as resource leak solution for this is finally keyword by vidhya.t

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is resource leak in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Other Engineering

Why marine engineers were white overalls?

white overalls contain no pigment,if there is a high pressure steam leak it will not blast dye or pigment into your skin


What are the basic controllable variables of a product planning problem What are the four major costs?

Controllable Variables are: utilization, work force level, production resource employment, and production lot size/sequencing of production runs. The major costs include: equipment installment, production & setup and inventory holding/processing.


What could engineers do to ensure a barge is stable before use?

1) Ensure that the barge has no leak. 2) Check the anchorage, both main anchor and ropes. 3) Check the barge load capacity. Over loading will impose danger. 4) Check the machine condition. Ensure that its has enough fuel and oil for entire trip. Be sure to have extra in case for in case. 5) Ensure to have proper fire fighting equipment on board. 6) Ensure to have enough life saving equipment and devices. 7) Ensure that all navigational equipment & gauges are working properly.


Why are blow out panels used in aircrafts?

A rupture disc or blow out panel is a non-reclosing pressure relief device that protects a pressure vessel, equipment or system from overpressurization or potentially damaging vacuum conditions. Rupture discs are commonly used in petrochemical, aerospace, aviation, defense, medical, railroad,nuclear, chemical, pharmaceutical, food processing and oilfield applications. They can be used as single protection devices or as a backup device for a conventional safety valve; if the pressure increases and the safety valve fails to operate (or can't relieve enough pressure fast enough), the rupture disc will burst. Rupture discs are very often used in combination with safety relief valves, isolating the valves from the process, thereby saving on valve maintenance and creating a leak-tight pressure relief solution.


What does CO2 smell like?

Does Carbon Monoxide Smell? No, carbon monoxide has no smell. Carbon monoxide is an odorless, colorless gas that’s a byproduct of combustion. As a homeowner, this means it can leak from your gas furnace, stove, dryer, and water heater as well as wood stove/fireplace. The fact that carbon monoxide has no smell, color, or taste makes it impossible for us to detect. This gas is an unseen risk, the exposure to which may prove fatal. To keep your family safe, it’s important to identify all the possible sources of CO in your residence and to properly install and maintain carbon monoxide detectors in your home.

Related questions

What is memory leak problemin java?

Memory leaks do not occur in Java as the garbage collector clears the memory which has no references.


What is java memory leak?

That means a memory leak in a program written in Java. A memory leak means that as the program runs, more and more memory is wasted - usually by being assigned and not de-assigned again. In Java this is not as usual as in other languages, since unused memory is normally reclaimed automatically by the garbage collector.


What is synchronized object in java?

synchronisation means one resource should use one system at a time


What is a URL in java?

URL is not a java-specific term. It means "uniform resource locator"; informally, it is the same as an "Internet address" - for example, the address to access a Web page, or an FTP server.


Can a Java application have memory leak?

Java has a fairly sophisticated garbage collection system, and in general you don't worry about memory leaks, as they only happen in a few very specific circumstances (notably, when adding listeners to Swing GUI objects and not removing them). If you need more sophistcated memory management, java provides the clases in the java.lang.ref package.


Does Minecraft spam your computer?

No it doesn't. Minecraft is a Java game and some systems might find that to be resource intensive.


References book for java and jsp?

"Head First Java" by Kathy Sierra and Bert Bates is a popular choice for learning Java. For JSP, "Core Servlets and JavaServer Pages" by Marty Hall is a comprehensive resource. Both books provide a strong foundation for Java and JSP development.


What has the author Elliotte Rusty Harold written?

Elliotte Rusty Harold has written: 'Java Network Programming' 'Java Developer's Resource' -- subject(s): Java (Computer program language) 'Effective XML' -- subject(s): XML (Document markup language) 'XML 1.1 Bible' -- subject(s): OverDrive, Computer Technology, Nonfiction 'Java Network Programming (Java Series (O'Reilly & Associates).)' 'Java I/O' -- subject(s): Java (Computer program language), Programmation (Informatique), Java (Langage de programmation), Ein-Ausgabe, Java , Programmierung 'Processing XML with Java' -- subject(s): Java (Computer program language), XML (Document markup language) 'XML in a Nutshell' 'Java I/O' -- subject(s): Java (Computer program language)


What has the author Kim Topley written?

Kim Topley has written: 'Core Swing' -- subject(s): Graphical user interfaces (Computer systems), Java (Computer program language), Java foundation classes, Swing (Computer file) 'JavaFX developer's guide' -- subject(s): Java (Computer program language), Development, Application software, Graphical user interfaces (Computer systems), Internet programming, JavaFX (Electronic resource) 'JavaFX developer's guide' -- subject(s): Java (Computer program language), Development, Application software, Graphical user interfaces (Computer systems), Internet programming, JavaFX (Electronic resource)


What is difference between java developer and java project manager?

In a typical development shop, a java developer does the actual work while a java project manager receives the credit in addition to a much larger pay check. Generally, the term "java project manager" implies that a resource knows neither java nor project management. However, the atypical title allows a java project manager to easily hide his/her lack of knowledge. Take the following conversations as examples of a typical verbal exchange with a java project manager: Java Developer: "Hey Java Project Manager, i am having problems with an out of memory exception in my servlet container, how do i view the contents of my heap?" Java Project Manager: "I am sorry, i am mostly a Project Manager, it has been along time since i have programmed java" or Senior Manager: "Hey Java Project Manager, how is your project plan going? When i tried to level your resources in M$Project, the end date was 2012" Java Project Manager: "I am sorry, i am not very good with M$Project, i have been working on solving an out of memory exception which is holding up one of my developers" Your mileage may vary however.


What is synchronize in java?

Synchronization is a feature by which only one thread can access a resource in a particular time of instance. No other thread can interrupt for that resource. In java to make our method synchronize we use synchronized keyword with that method. So Synchronization is just managing the resources among Threads. Vijai Shanker Just to add with the invent of Java 5 we have more option to write synchronized code in Java instead of using synchronized keyword we can use Lock Classes available in concurrency package.


What does java generate after compiling the java source code?

Java compiles to Java byte code; the native language of the Java virtual machine (JVM). The JVM is essentially just an interpreter for Java byte code. Each supported platform has its own JVM implementation so the same Java byte code can be executed upon any platform without further compilation, unlike C++ where source code must be compiled separately for each supported platform. However, interpretation results in slower execution speed and higher resource consumption than with C++ which compiles to native machine code.