|
From: Jonathan F. <jon...@rq...> - 2009-07-23 18:46:16
|
Hi all, I have a code that is using large static memory and is compile with gcc using -mcmodel=medium. When I try to use valgrind, I got : > valgrind --tool=none ./test valgrind: mmap(0x622000, 2199449600) failed in UME with error 22 (Invalid argument). valgrind: this can be caused by executables with very large text, data or bss segments. I know the bss is big : >size -A ./test |grep bss .bss 2199451744 6427680 So is it possible to run valgrind with this program? If yes, how? thanks -- -------------------------------------------------------------- Jonathan Ferland, analyste en calcul scientifique RQCHP (Réseau québécois de calcul de haute performance) bureau S-252, pavillon Roger-Gaudry, Université de Montréal téléphone : 514 343-6111 poste 8852 télécopieur : 514 343-2155 -------------------------------------------------------------- |