- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
how i can detect memory leaks cause by intel
ippsMalloc
forget ippsFree
{
float* x = ippsmalloc(5)
//no free
}
also how to detect buffer over run
float* x = ippsMalloc(5)
x[7]=90; //problem
1. bounds checker can detect new without delete but it not detect intel
2. using technique crtdbg.h ... _CrtCheckMemory() , not detect memory leaks from ippsmalloc only of new
so waht is yours advice ....
ippsMalloc
forget ippsFree
{
float* x = ippsmalloc(5)
//no free
}
also how to detect buffer over run
float* x = ippsMalloc(5)
x[7]=90; //problem
1. bounds checker can detect new without delete but it not detect intel
2. using technique crtdbg.h ... _CrtCheckMemory() , not detect memory leaks from ippsmalloc only of new
so waht is yours advice ....
Lien copié
3 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello,
I would recommend you to try Intel Parallel Studio XE 2011 product which integrates several Intel Software Developers Products into one bundle (including IPP and Inspector).
I was able to detect memory leak and locate source code line where ippMalloc function was called without counterpart ippFree with Microsoft Visual Studio 2010 and Intel Inspector XE 2011using predefined analisys set"Quick:Memory ErrorAnalisys: Locate Memory Problems" onpiece of code like your:
void main(void)
{
char* ptr = (char*)ippMalloc(5);
return;
}
Regards,
Vladimir
I would recommend you to try Intel Parallel Studio XE 2011 product which integrates several Intel Software Developers Products into one bundle (including IPP and Inspector).
I was able to detect memory leak and locate source code line where ippMalloc function was called without counterpart ippFree with Microsoft Visual Studio 2010 and Intel Inspector XE 2011using predefined analisys set"Quick:Memory ErrorAnalisys: Locate Memory Problems" onpiece of code like your:
void main(void)
{
char* ptr = (char*)ippMalloc(5);
return;
}
Regards,
Vladimir
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
it seems to expensive now
i will try to wrap it with my memory allocator that counts allocated bytes
i will try to wrap it with my memory allocator that counts allocated bytes
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
As a 1st step, you can use an evaluation version and find out memory leak information. If you are happy with the usage, you can buy from your nearest reseller. After purchase, you will get world class support from tools experts..
Thanks,
Naveen Gv
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable