MemoryMappedFileStream

harvid

Member
Joined
Dec 8, 2004
Messages
18
Programming Experience
1-3
In my project i'm using more than 100 forms. Memory mangement is a big problem. Whenever i open a form the memory gets accumulated and it is not releasing the memory after i close the form. i have tried close(), dispose(), finalize() but the memory issue still exists.

I have utilized the Win32 API function CREATEFILE, CREATEFILEMAPPING for managing memory. I'm not able to pass Form as an object. i'm sending the sample code with this.

In that i'm calling Form2 from Form1 and the API class are MemoryMappedFileStream.vb, Nativemethods.vb


Urgent plz hlp,
thanx in advance
 

Attachments

  • New Folder.zip
    12.3 KB · Views: 63
Top Bottom