Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
System.OutOfMemoryException and IDisposable
Message
From
19/12/2011 05:33:59
 
 
To
18/12/2011 18:39:27
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MySQL
Miscellaneous
Thread ID:
01530931
Message ID:
01531315
Views:
42
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 () { }
Previous
Reply
Map
View

Click here to load this message in the networking platform