Markus Kohler(deleted)
|
Memory leak on memory analysis using libmalloc_g even without any memory allocation
|
Markus Kohler(deleted)
05/11/2009 9:00 AM
post29134
|
Memory leak on memory analysis using libmalloc_g even without any memory allocation
This is probably a stupid problem, but I am new to this topic and couldn't find any solution here yet (6.3.0SP3; target:
PPC).
I have the following simple C++ dummy application:
int main() {
int i=0x7000000;
while (i--);
return i;
}
Running the Memory Profiling tool results in several memory leaks, although there are obviously no allocations at all.
I'm using the default configuration for both compiling (debug build) and the Memory Profiling tool. I also copied the
libmalloc_g.so to the target to ensure it is used properly (otherwise an error message would show up anyway).
Could you please provide me with some basic generic hints, which could possibly avoid this problem?
Thank you!
|
|
|