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

  • SEARCH
  • Home
  • 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 495033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:33:17+00:00 2026-05-13T05:33:17+00:00

This has always been on my mind while programming, so I thought I’d spit

  • 0

This has always been on my mind while programming, so I thought I’d spit it out before it actually gets to me.

What should i be more worried about? The memory the application consumes, or the performance it takes. By this I mean should I be focused upon using less memory for of the application and using more performance (eg. loading via database, and dumping it after use), or using less performance and using more memory (eg. caching)

My conditions for the application:
– It’s a server application, so it’s not meant to be ran on desktops, etc, I have 6GB of ram, and I have a quad-core.

  • 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-13T05:33:18+00:00Added an answer on May 13, 2026 at 5:33 am

    Your question has drawn a lot of Zen Buddhism-like responses. I hope to do better.

    Your memory limit is hard: If you exceed it, even if there’s virtual memory, your app will crawl and you’ll be the laughing stock of all.

    Your CPU time is unlimited: Your app will take whatever time it needs; hopefully it will be sufficiently parallel that all 4 CPUs will be, for the most part, cooking with full steam until your app is finished.

    Many Computer Science problems have a variety of solutions with various tradeoffs of memory against time. So: Be generous with memory until you use at least about half of it (if that helps; don’t waste memory for the heck of it!) but stop while there’s enough memory left that you don’t need to worry about exceeding the limit, even in exceptional cases or accidentally.

    Now that you’ve allocated your memory resources, you can try to tweak some more small performance gains out of your code. But don’t bother overdoing it.

    Done.

    P.S. If it doesn’t work correctly and reliably, all the preceding effort is worthless. Keep that in mind all the time!

    Good luck.

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

Sidebar

Related Questions

This question has been bugging me for some time. I always picture launching my
This has been a problem that I haven't been able to figure out for
Ok, I know this has been asked a thousand times before, but no conclusive
Possible Duplicate: How was the first compiler written? This question has always been bothering
This has happened many times before, but I never bothered to figure out why,
I know this has been covered before but I cannot find an answer to
I know this type of question has been asked before, but I could not
This has always bugged me. Perhaps someone with some hardcore knowledge of .NET internals
This has always bugged me to what is the best way to do the
This has always confused me. It seems like this would be nicer: ["Hello", "world"].join("-")

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.