[Valgrind-users] Valgrind with Hadoop/Mahout

2014-03-14 Thread Mahmood Naderan
Hi Is it possible to run valgrind (memory leak tool) with this command mahout wikipediaXMLSplitter -d enwiki-latest-pages-articles.xml -o wikipedia/chunks -c 64   ? It is a java based program. Or Valgrind works with C++ codes only? Regards, Mahmood---

Re: [Valgrind-users] using valgrind at specific point while running program

2013-08-26 Thread Mahmood Naderan
Valgrind. It doesn't detect any errors, simply run your code. If it runs quite fast (for you) and you want to collect only call-graph (use Callgrind) - then you can look at parameters for Callgrind. Vasily On Mon, Aug 26, 2013 at 12:00 PM, Mahmood Naderan wrote: Thanks. To be honest, I

Re: [Valgrind-users] using valgrind at specific point while running program

2013-08-26 Thread Mahmood Naderan
gards, Mahmood - Original Message - From: Konstantin Tokarev To: Mahmood Naderan ; "valgrind-users@lists.sourceforge.net" Cc: Sent: Monday, August 26, 2013 12:17 PM Subject: Re: [Valgrind-users] using valgrind at specific point while running program 26.08.2013, 11:45, &

[Valgrind-users] using valgrind at specific point while running program

2013-08-26 Thread Mahmood Naderan
I want to use valrgind at a specific time while my program is running. For example, when I use -O3 it will take 0.5 hours to reach the desired point. When I use -g -ggdb it will take nearly 2.5 hours to reach the desired point. Now if I use valgrind with -g -ggdb, the program is extremely s

Re: [Valgrind-users] using callgrind for nested programs

2013-04-19 Thread Mahmood Naderan
To: valgrind-users@lists.sourceforge.net Sent: Friday, April 19, 2013 12:55 PM Subject: Re: [Valgrind-users] using callgrind for nested programs Am 19.04.2013 06:52, schrieb Mahmood Naderan: > It seems that callgrind can not instrument a program that runs on top of > another program. This is not specific

[Valgrind-users] using callgrind for nested programs

2013-04-18 Thread Mahmood Naderan
Hi It seems that callgrind can not instrument a program that runs on top of another program. Consider this case: 1- I run a tcl script to launch a program    [mahmood@mpc /home/mahmood/trunk]$ scripts/run_job -job test -valgrind benchmark "-valgrind" will set "valgrind --tool=callgrind" 2- this

Re: [Valgrind-users] there is no callgrind.out

2013-04-18 Thread Mahmood Naderan
ct: Re: [Valgrind-users] there is no callgrind.out Am 18.04.2013 19:15, schrieb Mahmood Naderan: > the -valgrind option will set >      valgrind --tool=callgrind --tool=memcheck -v --trace-children=yes > in the command line. The 2nd --tool option overrides the first, as you can not run multipl

[Valgrind-users] there is no callgrind.out

2013-04-18 Thread Mahmood Naderan
Dear all, I want to use kcachegrind and callgrind to profile my program and find the hotspot. The problem is, I use --tool=callgrind but there is no calgrind output file. Here is the detail: My program at the top level uses a tcl script. What I run is    [mahmood@mpc /home/mahmood/trunk]$ scri

Re: [Valgrind-users] invalid file descriptor in syscall close()

2011-08-23 Thread Mahmood Naderan
a break! OPEN_LOG;    (*) ... CLOSE_LOG;  // error happened here ... OPEN_LOG if (something) {    ...    break;    ... } CLOSE_LOG; So what happened really was two OPEN_LOG and one CLOSE_LOG Thanks a lot Tom. I fixed it :) // Naderan *Mahmood; - Original Message - From: To

[Valgrind-users] invalid file descriptor in syscall close()

2011-08-23 Thread Mahmood Naderan
Hi Using valgrind to detect the problem, I see many messages like this: ==4513== Warning: invalid file descriptor 4546 in syscall close() ==4513== Warning: invalid file descriptor 4567 in syscall close() ==4513== Warning: invalid file descriptor 4567 in syscall close() ==4513== Warning: invalid fi