.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Interview Question >> JavaScript/VBScript >> Post New Question Subscribe to Interview Questions

What is a resource leak?

Posted By :Ghanashyam Nayak     Posted Date :September 28, 2010    Points :10   Category :JavaScript/VBScript 
Usually all operating systems have limitations for using the number of file handles, sockets etc., which can be open. The limit is quite low for certain resources. If the memory of the system is 128 KB, the Java program can easily allocate all the resources available for handling files without filling up the heap. In this scenario, the Java program will fail. This situation is known as 'resource leak'. In other words, resource leak is an unintentional maintenance of references to non-memory resources.

You can also find related Interview Question to What is a resource leak?  below: 

How do you create a resource-only assembly?

One should create a resource only assembly if you need to update the resources frequently without recompiling the whole solution.
Steps to create it are:
a. Create a new empty project.
b. Add a new resource item to the project.
c. In project's property pages, choose output type as class library..
d. Build project to have the resource files being compiled in an assembly. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend