Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
memory-leak
- Page 1
Memory Usage Goes Up Gradually (Memory Leak)
Hardware and Software
Microsoft Windows
14 Years Ago
by raya2
… Up Gradually (
Memory
Leak
) When I starting the Windows (in the first few …- Downloading and installing the following hotfixes that are related to
memory
leak
: [url]http://support.microsoft.com/kb/976658[/url] [url… and using memtest86+ for finding any possible error in
memory
And here is screenshot from Process Explore (from Sysinternals …
Memory Leak
Programming
Software Development
16 Years Ago
by shasha821110
…senior programmer. When i was coding, i found the
memory
leak
is happening everywhere and maybe some senior programmer also have…want to start a thread, let's talk about the
memory
leak
. And throw some examples if you want. Let me… begin first: Pointer assignment
memory
leak
: [code=c++] char *a= new char[10]; char *…
Memory Leak ....
Programming
Software Development
16 Years Ago
by koushal.vv
… Can any tell me a free tool which detects
memory
leak
in C++ code. to be more specific [ UNMANAGED…output window shows that
memory
has leaked detected but i dont exactly know where the
leak
is happening can …VS2005 , do i have any option of finding the
leak
using VS2005? Thanks in Advance. [COLOR="Red"…
Re: Memory Leak ....
Programming
Software Development
16 Years Ago
by skatamatic
…); return 0; } [/code] This won't actually detect where the
leak
is occuring, but can give you a good idea. For… certain array, and the output window says it found a
memory
leak
20 bytes long, you should have a good idea which… array you forgot to delete. The best way to prevent
memory
leaks is to have a delete line for every new…
Re: Memory Leak
Programming
Software Development
16 Years Ago
by verruckt24
…s a bit difficult to give an example of
memory
leak
, because it almost always happens accidently without the developer… even knowing it.
Memory
leaks bugs almost always plant themselves so subtly that…; which is when the system runs out of available
memory
. @shasha82110: You can mark the other thread as…
Re: Memory Leak
Programming
Software Development
16 Years Ago
by William Hemsworth
Hmm, an example of a
memory
leak
.[CODE=CPLUSPLUS]int main() { int **a = new int*[10]; for (… which was allocated for the pointers themselves. To fix this
leak
, you need to remember to free [B]a[/B].[CODE…
Memory leak
Programming
Software Development
16 Years Ago
by amolkumbhar
…came to know that it is bcoz of the
memory
leak
in dotnet. 1)One of the cause we detected… OledbDataAdapter, it creates DataColumn object implicitly. and the
memory
created for DataColumn is not getting freed. 2)Another…And there are many more things which are causing the
memory
leak
. And bcoz of all this "system.stackOverFlowException"…
Memory Leak
Programming
Software Development
16 Years Ago
by hieuuk
Now, you think I'm crazy.
Memory
leak
in C#? Well, it's happening…amazing). It's kind of
leak
everywhere. To solve the problem I used
Memory
Profiler (My ANTS is …[/COLOR][/B]: I develop myself a runtime
memory
tracking system to integrate into this system. …I could have the real time total
memory
but I want to monitor every single variables…
Re: Memory Leak ....
Programming
Software Development
16 Years Ago
by skatamatic
Well if do you know if the
memory
leak
is caused by a recent addition to the code, or has there been
memory
leaks from the start? You should be checking for mem leaks as you write the code, not at the end >.<
Re: Memory Leak ....
Programming
Software Development
16 Years Ago
by koushal.vv
… , any tool which can say tat this particular line has
memory
leak
, like we have NCOVER tool for C#,C++ managed code…
memory leak
Programming
Software Development
16 Years Ago
by sreesai
Hi, I want to know how to program to find
memory
leak
. my idea is to find whether there is a free() for every malloc before exiting the function. x() { malloc() .... if() { abc return; // thr is a
memory
leak
as thr is no free n we are returning from the function. } ..... ..... free() }
Memory Leak
Programming
Software Development
9 Years Ago
by anirbanengg
… the return in a different function . But I am getting
memory
leak
. Please help. The test code which I wrote and detected… with
memory
leak
by CPPCheck. ######################################################################## # include < stdio.h > # include < malloc…
Re: memory leak
Programming
Software Development
16 Years Ago
by sreesai
…do you deal with it ? there needs to be a
memory
trailer (as a part of debugging)to check whether…
memory
was freed before exiting. [code] void foo ( char *msg ) { char…() for every malloc before exiting the function. Is this a
memory
leak
? [code] void foo ( char *msg ) { char *p = malloc( 10 ); …
Re: memory leak
Programming
Software Development
16 Years Ago
by Salem
…() for every malloc before exiting the function. Is this a
memory
leak
? [code] void foo ( char *msg ) { char *p = malloc( 10 ); if…
Re: memory leak
Programming
Software Development
16 Years Ago
by Ancient Dragon
[URL="http://www.google.com/search?hl=en&q=c+
memory
+
leak
+detectors"]See thse google links[/URL]
Memory Leak
Programming
Software Development
16 Years Ago
by death_oclock
…ICODE]evolveRealization[/ICODE] and while it is stuck its
memory
usage is increasing by around 1MB per second! While …the old ones should be freed. So where is this
memory
leak
coming from? [CODE=C]#include "stdafx.h"…the only external function that allocated
memory
is [ICODE]chordPitches[/ICODE] and the
memory
from that is clearly freed. I…
Re: Memory Leak
Programming
Software Development
16 Years Ago
by Ancient Dragon
don't clear it before freeing, clear it immediately after using it. The purpose is so that unused elements can be easily detected. For example line 309: before the return statement you have to free up all the
memory
that was allocated up to that point. If you don't then it will cause
memory
leak
.
memory leak
Programming
Software Development
15 Years Ago
by jacline
Hi everyone, I write a project about a banking system . In homework professor told us that "Your code must not have any
memory
leaks. You will lose points if you have
memory
leaks in your program even though the outputs of the operations are correct." How can I check whether my code has
memory
leak
or not?
Re: memory leak
Programming
Software Development
15 Years Ago
by William Hemsworth
Check variables that you allocated
memory
on, and make sure you deleted it somewhere else in the code. If you forget to free any
memory
, that's a
memory
leak
.
Re: memory leak
Programming
Software Development
15 Years Ago
by Clinton Portis
… can I check whether my code has
memory
leak
or not? [/quote] [LIST] [*]objects allocated
memory
using 'new' must be deleted. [*]anytime you… all I can think of for now as far as
memory
leakage.
Re: Memory Leak
Programming
Software Development
16 Years Ago
by Ancient Dragon
…, 0, generationSize * sizeof(ACTUAL_CHORD *));[/icode] lines 309, 330 and 338:
memory
leak
here. You need to free() variable generation and each of…
Re: Memory Usage Goes Up Gradually (Memory Leak)
Hardware and Software
Microsoft Windows
14 Years Ago
by patme
[QUOTE=raya2;1230097]
Memory
Usage Goes Up Gradually (
Memory
Leak
) When I starting the Windows (in the …Downloading and installing the following hotfixes that are related to
memory
leak
: [url]http://support.microsoft.com/kb/976658[/url]… using memtest86+ for finding any possible error in
memory
And here is screenshot from Process Explore (from…
Re: Memory Usage Goes Up Gradually (Memory Leak)
Hardware and Software
Microsoft Windows
14 Years Ago
by Xlphos
Hello, It does sound like a
memory
leak
. I assume that you leave your computer on and that … for the day or you could try to find the
memory
leak
if it is linked to a particular process, however if…
Re: Memory Usage Goes Up Gradually (Memory Leak)
Hardware and Software
Microsoft Windows
14 Years Ago
by raya2
I also think that this is a
memory
leak
but I can't find the source of it. because none of the processes use that amount of
memory
This problem started two weeks ago for me and after posting my problem in more than 10 forums , I can't solve the problem yet
Re: Memory Usage Goes Up Gradually (Memory Leak)
Hardware and Software
Microsoft Windows
14 Years Ago
by raya2
… any of my 3 hard disks) , the speed of
memory
leak
, increasing.(the
memory
usage goes up more quickly) It seems that the…
Memory Leak While using ACE_Thread
Programming
Software Development
15 Years Ago
by Shreeravi
…This code is working but it is leading to a
memory
leak
. (the main process restarts after about an hour (i…coded the log in details. But, there was still a
memory
leak
. 2) The created threads are not getting destroyed. This…a very restrictive base code. Now, the reason for
memory
leak
could be because of the created child threads not …
memory leak in operator+=
Programming
Software Development
14 Years Ago
by sabareesh
… nLen; //object of string class String Stemp; //allocate
memory
Stemp.m_pText = new char[nTotLen + 1]; // copy … // append string strcat(Stemp.m_pText, pData.m_pText); //allocate
memory
m_pText = new char[nTotLen + 1]; // copy string …CODE] when i run this code heap
memory
leak
found. why this
memory
leak
come? what i want to do …
Memory leak error?
Programming
Software Development
16 Years Ago
by RaDeuX
…some reason I'm getting a
memory
leak
error. It's probably from … free(countryList); printf( _CrtDumpMemoryLeaks() ? "
Memory
Leak
\n" : "No
Leak
\n"); printf("\n\t\tEnd of… = (char**) calloc (numCountries + 1, sizeof(char*)))) { printf("
Memory
is unavailable.\n"); exit(103); } for ( i = 0; i…
Memory Leak Extracting String from Char Buffer
Programming
Software Development
14 Years Ago
by Rawrels
…the string but I'm left with a
memory
leak
that I do not know how to solve.…to do this; if not, how do I solve the
memory
leak
. [code=c] if(_usCurrentPosition + 1 >= m_usBufferLength)…*); char* _cTemp; _cTemp = new char[_ucLength]; //TODO:
MEMORY
LEAK
no delete of array memcpy(_cTemp, &m_pcBufferData[_usCurrentPosition], _ucLength…
memory leak after free the memory for char string
Programming
Software Development
9 Years Ago
by can-mohan
…, in below code snippet, I have been facing
memory
leak
issue while free
memory
for string.Could you let me know thereason for…); } while(*p) { p++; printf("%c",*p); } free(p);//
memory
leak
happens here } int main() { int rc; rc= fun("10…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC