TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
george
NA
23
46.1k
serial port memmory problem
Nov 24 2008 12:49 PM
guys i have make some other post before few months! i cand find solution please help me if someone know any solution!!
im reading with serial port from a micro controller board and i have a problem!
the program works OK but the memory usage increasing! begins with 13mb and goes to 100mb in an hour
i have try to use
System.GC.Collect();
System.GC.WaitForPendingFinalizers();
in the
private void serialPort1_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
{
RxString = serialPort1.ReadLine();
this.Invoke(new EventHandler(DisplayText));
System.GC.Collect();
System.GC.WaitForPendingFinalizers();
}
but still nothing!! any idea?
Reply
Answers (
11
)
help in designing a project for school
Delete selected rows on datagrid (WINFORMS)