Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6839993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:47:11+00:00 2026-05-26T23:47:11+00:00

I apologize in advance for asking a question that might be a little more

  • 0

I apologize in advance for asking a question that might be a little more specific and not a general concept type question.

Using Visual Studio 2010, Visual C#, .NET 3.5, DevExpress 11.1

We have a little application running on three separate Windows XP Embedded “Panel PC’s” mounted in electrical distribution boxes, each installed in a remote building. The application communicates with a central database to display important events in a tabled view, polling every second as to be as up to date as possible.

I started the application on each last week Monday. On a small device like that the CPU usage float around 5 – 10% and the memory usage started as 25 – 30MB. Today, a week later, the memory usage sits at 80MB – I was monitoring it during last week and it kept increasing.

As far as I know I have made effort to dispose all disposable objects using ‘using’ statements wherever possible. I don’t know how else to release memory. If it starts at 30MB, shouldn’t it remain there?

I have though about restarting the application every week or so, but XPE don’t have the ‘taskkill’ command; nor does it have the ‘shutdown’ command so rebooting weekly is also not an option. Seems I’ll have to really optimize my code.

So I suppose what I would like to know: What are GREAT ways to conserve memory on a device with very limited resources such as a panel PC / thin client and where restarting applications and devices can’t be automated?

Thanx.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:47:11+00:00Added an answer on May 26, 2026 at 11:47 pm

    Use a memory profiler. There is an allocation profiler built into VS 2010, and there are plenty of third party profiles such as ANTS. On a snapshot of your heap you can see which objects are lingering.

    Using VS2010 Profiler for memory measurement

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I apologize in advance for not knowing how to better state this question. In
I apologize in advance if I am asking asking question with impossible answer. But
I apologize in advance if my question is not clear, because I don't know
I apologize in advance for asking something that's been answered several times on SO,
I apologize in advance about asking a so similar question, but i'm rather frustrated,
I apologize in advance for asking this question, I know similar questions have already
I apologize in advance for asking such a silly question, but I can't seem
I apologize in advance if this question seems remedial. Which would be considered more
I apologize in advance for asking such a stupid question, but how do I
I apologize in advance, I'm not sure what category this question fits into, if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.