Re: Memory leak on thread removal

2009-05-17 Thread Mikolaj Golub
On Sat, 16 May 2009 20:24:09 +0200 Marius Nünnerich wrote: >> http://freshmeat.net/projects/lmdbg >> >> This is a small memory leak debugger. It does not provide all functionality >> you can find in more sophisticated tools but is lightweight, portable and >> simple in use. It was very usefu

Re: Memory leak on thread removal

2009-05-17 Thread Mikolaj Golub
On Tue, 12 May 2009 09:27:30 +0300 Mikolaj Golub wrote: MG> Hi, MG> The code below is compiled with -fopenmp and run on FreeBSD6/7 (i386, amd64): MG> #include MG> #include MG> int n = 4, m = 2; MG> int main () { MG> for (;;) { MG> int i; MG>

Re: Memory leak on thread removal

2009-05-16 Thread Marius Nünnerich
On Sat, May 16, 2009 at 19:05, Mikolaj Golub wrote: > > On Fri, 15 May 2009 13:48:51 +0200 Marius Nünnerich wrote: > >  MN> On Tue, May 12, 2009 at 08:27, Mikolaj Golub > wrote: >  >> Hi, >  >> >  >> The code below is compiled with -fopenmp and run on FreeBSD6/7 (i386, > amd64): >  >> >  >> #in

Re: Memory leak on thread removal

2009-05-16 Thread Pieter de Goeje
On Saturday 16 May 2009 17:05:24 Mikolaj Golub wrote: > On Fri, 15 May 2009 13:48:51 +0200 Marius Nünnerich wrote: > > MN> On Tue, May 12, 2009 at 08:27, Mikolaj Golub wrote: > >> Hi, > >> > >> The code below is compiled with -fopenmp and run on FreeBSD6/7 (i386, > >> amd64): > >> > >> #in

Re: Memory leak on thread removal

2009-05-16 Thread Mikolaj Golub
On Fri, 15 May 2009 13:48:51 +0200 Marius Nünnerich wrote: MN> On Tue, May 12, 2009 at 08:27, Mikolaj Golub wrote: >> Hi, >> >> The code below is compiled with -fopenmp and run on FreeBSD6/7 (i386, >> amd64): >> >> #include >> #include >> >> int n = 4, m = 2; >> >> int main () {

Re: Memory leak on thread removal

2009-05-15 Thread Andriy Tkachuk
On 2009-05-15 14:48, Marius Nünnerich wrote: Anybody knows good tools how to investigate this? Valgrind? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-h

Re: Memory leak on thread removal

2009-05-15 Thread Marius Nünnerich
On Tue, May 12, 2009 at 08:27, Mikolaj Golub wrote: > Hi, > > The code below is compiled with -fopenmp and run on FreeBSD6/7 (i386, amd64): > > #include > #include > > int n = 4, m = 2; > > int main () { >        for (;;) { >                int i; > >                //sleep(2); > #pragma omp par

Memory leak on thread removal

2009-05-11 Thread Mikolaj Golub
Hi, The code below is compiled with -fopenmp and run on FreeBSD6/7 (i386, amd64): #include #include int n = 4, m = 2; int main () { for (;;) { int i; //sleep(2); #pragma omp parallel for num_threads(m) for(i = 0; i < 1; i++) {}