Hi Friends,
We suspect some memory leaks in our program and thought to debug them with valgrind. But when running with valgrind it threw the following error.
Code:
Code:
[root@SCE10000 pkgout]# valgrind ./bin/fp_fd
valgrind: mmap(0x6c2000, 1440247808) failed in UME with error 22 (Invalid argument).
valgrind: this can be caused by executables with very large text, data or bss segments.
If we see the size command output on ./bin/fp_fd
Code:
[root@SCE10000 pkgout]# size bin/fp_fd
text data bss dec hex filename
781670 9832 1440248260 1441039762 55e48592 bin/fp_fd
I surfed over internet for this, but couldn't find any solution.
Can anybody please suggest how to make my program to run with valgrind.
Or please suggest any other memory leak profiling tools.
Thanks in Advance,
Vamsi Krishna.