Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System.OutOfMemoryException and IDisposable
Message
De
19/12/2011 05:33:59
 
 
À
18/12/2011 18:39:27
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MySQL
Divers
Thread ID:
01530931
Message ID:
01531315
Vues:
40
Hi All,

I have not yet resolve this problem, but please find my revised codes below:
I am monitoring the Task Manager, the Memory getting bigger and bigger everyday .. but System.OutOfMemoryException not thrown!..

any body can give me advise?

Codes in Main Form

object[] para = new object[] { para1, para2, para3 };
using (Cls1 cls1 = new Cls1())
{
cls1.MainProc(para);
}


//Code class Cls1 : IDisposable

{

// IntPtr _maxworkset = curProc.MaxWorkingSet;

public void MainProc(object para)
{
// DO SOMETHING HERE!
}

public void Dispose() { }

~Cls1 () { }
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform