Search 5,000,000+ questions and answers.

Frequently Asked Questions

How to avoid and fix memory leak in C/C++?

FAQ on C/C++/Unix by Roseanne Zhang, Java Programmer Certifi...
If you need to check mem-leak in executables or source code written by third party, it is better to use a good tool. Do a google search... However, if you are coding in Lisp/Basic/Java/C#/..., you don't need to worry about these problems, since those languages are using garbage collectors.
Related Questions

Does Bricolage have a memory leak?

Bric::FAQ - Bricolage Frequently Asked Questions
This document tries to answer questions asked frequently on the mailing list or other questions that people might have when starting out with or evaluating Bricolage. Currently only PostgreSQL support is maintained. There is an Oracle driver, but it's old and not known to work. A port to MySQL 4.1 is reportedly underway.
Related Questions

How much memory should rdiff-backup use? Is there a memory leak?

rdiff-backup FAQ
The amount of memory rdiff-backup uses should not depend much on the size of directories being processed. Keeping track of hard links may use up memory, so if you have, say, hundreds of thousands of files hard linked together, rdiff-backup may need tens of MB. If rdiff-backup seems to be leaking memory, it is probably because it is using an early version of librsync. librsync 0.9.5 leaks lots of memory. Later versions should not leak and are available from the librsync homepage.
Related Questions

Q3.8: How do I fix "Out of Memory" problems?

Frequently asked questions about MATLAB
A frequent variant of this question is: "I have 512M of RAM, and 2G of swap space. Why can't I create this 200M matrix?" Simple answers first: Remember that double precision floats take up 8 bytes. So a million element vector takes up 8Mbytes. Be sure you're estimating properly. Many operations need to create duplicate matrices. For example, B=inv(A.') must create a tempory variable the same size as A to hold the transpose, and B is again, the same size as A.
Related Questions

What are some things that someone with hepatitis C should avoid?

AIDS Action Committee of Massachusetts:
Avoiding alcohol (even small amounts) is extremely important. Tylenol and other over-the-counter and prescription drugs can also cause liver damage. High iron diets can cause damage. Good nutrition, exercise, and sleep are helpful in keeping the liver healthy.
Related Questions

Are there any leaks that the A/C Stop Leak & Sealer will not fix?

Bar's Leaks FAQ
Yes, the A/C Stop Leak & Sealer will not repair compressor shaft seal leaks. It will also not stop most leaks that cannot hold 25" of vacuum for at least 5 minutes. There are some exceptions to this rule with vehicles that have multiple small leaks which can usually be sealed even if it can't hold the vacuum. Another way to look at this is the vehicle should not lose more than a pound of Freon in one 24 hour period.
Related Questions

Do I Have A Memory Leak?

Taman Tech Computing Services
Windows will, by design, always attempt to find some use, anything whatever that might potentially be of some benefit, for every bit of RAM installed in the computer. So it will increase the size of the disk cache to take advantage of available RAM, and will retain the program code from closed applications in RAM in anticipation that the application might be launched again, as is very often the case.
Related Questions

There is a leak in my yard. Can you send someone out to fix it?

Frequently Asked Questions
Many times, a leak in the yard will be a leak on the property's plumbing line and the owner is responsible for the repair. But, if you'd like to have someone out to inspect the leak, our Customer Service Center can arrange that for you. The phone number is 645-8270. Representatives are available to take your call Monday through Friday 7:00 a.m. to 6:00 p.m.
Related Questions

How do I fix the memory leak and macro problem with EndNote 6 in Word XP?

iSchool Technology Knowledge Base
I have had many reports of problems on our systems with people who use EndNote 6 within Word XP on our machines. There is a ... Scott BarkerInformation SchoolUniversity of WashingtonSymantec Ghost provides a Boot Wizard to assist in the creation of a Network boot disk. This allows you to initiate a Ghost ...
Related Questions

My A/C system is leaking refrigerant. How can I find the leak?

National Aircon - Vehicle Airconditioning
When refrigerant leaks from the system, it immediately evaporates into thin air leaving no trace except possibly the compressor oil residue that leaks out with it. Wet oily areas around hose connections and fittings and/or greasy streaks radiating outward around the compressor clutch or on the underside of the bonnet just above the compressor are good visual clues to the location of the leak.
Related Questions

If I have hepatitis C, what can I do to avoid infecting others?

Hepatitis C Web Portal: Frequently Asked Questions
Once you know you are infected with hepatitis C, there are a number of steps you can take to avoid spreading the virus to others. These include not sharing any drug injecting equipment with others, not sharing any personal toiletry items that may have traces of blood on them (for example, toothbrushes, razors, nail or hair clippers) and cleaning up any blood spills carefully.
Related Questions

My skels leak memory - why ?

ORBit2 Frequently Asked Questions - FAQs
CORBA_sequence_CORBA_string * get_StringSequence (PortableServer_Servant servant, CORBA_Environment *ev) { int i; CORBA_sequence_CORBA_string *s; s = CORBA_sequence_CORBA_string__alloc (); s->_buffer = CORBA_sequence_CORBA_string_allocbuf (100); s->_length = 100; for (i = 0; i < 100; i++) s->_buffer[i] = CORBA_string_dup ("A string"); return s; } Why am I leaking huge chunks of memory ? The answer is the _release feature.
Related Questions

How can I fix a leak between the Cup and Burner?

Untitled Document
This is a very low pressure stove so a perfect seal is not necessary. However, a small leak can sometimes let priming fuel in the outer ring run down into the cup before the jets are lit... this IS a problem. Usually the leak is caused by a small crease in the Cup produced by a Burner crimp. A leak can sometimes overheat and expand the Cup and make the fuel burn too fast. This can also keep the simmer ring from working. Make sure the Burner is tapped all the way into the Cup.
Related Questions

I have a water leak at my house. Will the City fix it?

Welcome to the City of Brea, California
The homeowner is responsible for all water leaks after the water meter and inside the house. The water meter is generally located in the parkway in front of the property. Maintenance Services will assist you in turning off the water at the meter in order to allow you or your plumber to do repairs. Call (714) 990-7691 to schedule this service.
Related Questions

Q : What is the Memory Effect of a NiCd battery? How can I avoid it?

Battery Logic UK - FAQ - NiMH Rechargeable Batteries and Cha...
If a NiCd battery has not been entirely emptied before the next charge, the chemistry of the NiCd battery will start to play tricks with you. Over time it will appear that the battery is no longer holding a charge. This is called the "memory effect". To avoid this, it is best to occasionally discharge NiCd batteries entirely as this will ensure optimum performance and help lengthen the life of the battery. Memory effect does not occur with NiMH Nickel-Metal Hydride batteries.
Related Questions

What is "battery memory" and how do I avoid it?

Battery FAQ
Technically speaking, NiCad batteries do not have a memory effect. However, they do suffer from a voltage depletion or voltage depression phenomenon that most people call memory effect. If a NiCad battery is repeatedly charged after it has only been partially discharged it will develop a lower voltage and a lower capacity. Fortunately, this effect is reversible by conditioning NiCads. Conditioning is simply fully discharging the battery down to approx 1 volt per cell, after charging it.
Related Questions

C. What is Translation Memory?

Frequently Asked Questions
Translation memory is a database that contains precisely matched pairs of source and target language text. The advantage of maintaining a translation memory is that this information can be used to reduce translation time and cost and improve consistency when localizing the text.
Related Questions

How can I avoid spreading hepatitis C to my family?

All About Hepatitis C - Frequently Asked Questions About Hep...
Hepatitis C is spread by exposure to HCV-infected blood. To avoid spreading hepatitis C, you should minimize these types of exposures. Don't share any instrument that can carry blood on it, such as toothbrushes, nail clippers, razors, etc. If you have any cuts or open wounds, treat them immediately and cover them with the appropriate type of bandage.
Related Questions

Are Interdynamics leak sealers safe for my A/C system? What does "System Safe" leak sealer mean?

Auto Air Conditioning - A/C Leak Finding & Sealing
Yes. Interdynamics' "System Safe" leak sealer is a gentle o-ring conditioner that does not destroy o-rings.
Related Questions

Will they break or leak?

Frequently Asked Questions
Our unique guarantee protects you against breakage of any kind, your fault or ours, for TWO YEARS. Even if you step on a nail or the dog chews them, we will replace them absolutely FREE!
Related Questions

Will it leak?

The Keeper Menstrual Cup FAQ - The Keeper Store
If inserted properly, The Keeper “should” not leak. However, some women find that it does-especially on those first 2 days. If you have a heavy flow or you wear it overnight, you might want some added protection. Or, you may find that you need to empty it slightly more often than you have been. Some women find that (on their heaviest days) it can leak somewhat, if it becomes full and is not emptied soon enough.
Related Questions

Will GladRags leak?

GladRags FAQ | GladRags.com
GladRags are designed to be comfortable and efficient. The flaps that snap around your underwear act as wings to protect the sides of your panties from getting stained and there is no stitching where your flow can pool. Your flow will just naturally go toward the absorbing inserts, which have a layer of cotton terry cloth inside. GladRags can leak if left unchanged for too long, just as disposable pads will if they become too saturated.
Related Questions

How much memory should I give it?

MT-NW Manual: Frequently Asked Questions
Important Note: Your humble authors got tired of writing dry formal technical prose in the rest of this document, and succumbed to the temptation to try to be funny in parts of this appendix. Sarcasm abounds here. Please do not take any of this personally! The humor-impaired should interpret my comments not as attacks on them, but as an attempt to make fun of myself for being impatient with you, my devoted and valued, if sometimes demanding, users.
Related Questions

How Much Memory Do I Have?

All of Memory FAQ
Consult your user/owner's manual for details about the original memory configuration and capacity. If you've misplaced the manual, you may be able to contact the retailer where you bought the PC from. If you have a hand-me-down PC or inherited a pre-owned PC, you probably may not have the user manual or know any detail of the original memory configuration or the memory configuration may have been changed.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact