[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug #21477] threads not reclaimed by GC
From: |
Jeffrey A. Meunier |
Subject: |
[Pnet-developers] [bug #21477] threads not reclaimed by GC |
Date: |
Tue, 30 Oct 2007 14:11:17 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8 |
URL:
<http://savannah.gnu.org/bugs/?21477>
Summary: threads not reclaimed by GC
Project: DotGNU Portable.NET
Submitted by: jeffm
Submitted on: Tuesday 10/30/2007 at 14:11
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Platform: Win XP SP2, Pnet 0.8.0
Compile this and run it, and watch memory consumption grow and grow. If the
Start method is not called, then the problem goes away.
using System;
using System.Threading;
class ThreadTest
{
static void ThreadMethod() {}
static void Main()
{
while( true )
{
new Thread( new ThreadStart( ThreadMethod ) ).Start();
Thread.Sleep( 1 ); // make ^C more responsive
}
}
}
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?21477>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bug #21477] threads not reclaimed by GC,
Jeffrey A. Meunier <=