Windows Develop Bookmark and Share   
 index > Windows Forms Designer > optimize application
 

optimize application

How do I make my application uses less memory and use less CPU?

recently did a video player, using the windows media player SDK, but takes up 65 MB in RAM, when the windows media player holds up to 40 MB. The CPU usage increases 30% on windows media player.

I hope someone can give me the solution to optimize my application. The answer is to compile, when configuring the application, or perhaps there is some trick.

THANKS FOR ALL
Daniel Hdez  Saturday, August 22, 2009 12:07 AM
Hi Daniel Hdez,

These are two links about memory optimization in .Net:
1. http://msdn.microsoft.com/en-us/magazine/cc163856.aspx.
2. http://geekswithblogs.net/robp/archive/2008/08/07/speedy-c-part-2-optimizing-memory-allocations---pooling-and.aspx.

This thead discusses about performance optimization:
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/f58d6846-3c1b-444a-b982-912c0e0748c9.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byDaniel Hdez Wednesday, August 26, 2009 4:04 AM
  •  
Aland Li  Tuesday, August 25, 2009 12:19 PM
Hi Daniel Hdez,

You are welcome. If your program's performance is improved, please post your good methods here. These methods can help others who met the same issue.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byDaniel Hdez Wednesday, August 26, 2009 4:04 AM
  •  
Aland Li  Wednesday, August 26, 2009 2:57 AM
Hi Daniel Hdez,

These are two links about memory optimization in .Net:
1. http://msdn.microsoft.com/en-us/magazine/cc163856.aspx.
2. http://geekswithblogs.net/robp/archive/2008/08/07/speedy-c-part-2-optimizing-memory-allocations---pooling-and.aspx.

This thead discusses about performance optimization:
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/f58d6846-3c1b-444a-b982-912c0e0748c9.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byDaniel Hdez Wednesday, August 26, 2009 4:04 AM
  •  
Aland Li  Tuesday, August 25, 2009 12:19 PM
thanks for the reply, I will consider those items, at first glance are many interesting and seem to be what I want. thank you send me the appropriate thead.
Daniel Hdez  Tuesday, August 25, 2009 6:54 PM
Hi Daniel Hdez,

You are welcome. If your program's performance is improved, please post your good methods here. These methods can help others who met the same issue.

Regards,
Aland Li
Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
  • Marked As Answer byDaniel Hdez Wednesday, August 26, 2009 4:04 AM
  •  
Aland Li  Wednesday, August 26, 2009 2:57 AM

You can use google to search for other answers

Custom Search

More Threads

• CPU goes 100% when moving labels on a form
• DesignSurface with multiple toolboxes
• Unable to locate license assembly and third party controls
• How does the toolbox filter items from a VS 2008 project that targets .NET 2.0?
• Windows Form Designer not populating event drop-down menu
• VS2005 CryptographicException when adding SqlDataAdapter
• Embeded WindowsMediaPlayer has bugs
• Name Property
• Accessing component from another form
• Help on the Menu Dynamic