Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 1999 07:04:18 +1100 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        ks@itp.ac.ru (Sergey S. Kosyakov)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Memory leak in pthread?
Message-ID:  <199902052004.HAA22959@cimlogic.com.au>
In-Reply-To: <XFMail.990205172157.ks@itp.ac.ru> from "Sergey S. Kosyakov" at "Feb 5, 1999  5:21:57 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Sergey S. Kosyakov wrote:
> This programm very quickly eats all the virtual memory. In "freebsd-hackers
> archive" I found some words about thread management by hand. More complicated
> program, where stacks are allocated/deallocated by malloc()/free() for each
> thread, eats memory not so quickly, but still eats, e.g. resident size (for each

You need to detach the threads.

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902052004.HAA22959>