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
--------------------------------------------------------------


------------------------------------------------------------------------------
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to