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 4125326
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:51:17+00:00 2026-05-20T23:51:17+00:00

I had an issue recently (see my last question) that led me to take

  • 0

I had an issue recently (see my last question) that led me to take a closer look at the memory management in my Delphi application. After my first exploration, I have two questions.

I’ve started playing with the FastMMUsageTracker, and noticed the following. When I open a file to be used by the app (which also creates a form etc…), there is a significant discrepancy between the variation in available virtual memory for the app, and the variation in “FastMM4 allocated” memory.

First off, I’m a little confused by the terminology: why is there some FastMM-allocated memory and some “System-allocated” (and reserved) memory? Since FastMM is the memory manager, why is the system in charge of allocating some of the memory?

Also, how can I get more details on what objects/structures have been allocated that memory? The VM chart is only useful in showing the amount of memory that is “system allocated”, “system reserved”, or “FastMM allocated”, but there is no link to the actual objects requiring that memory. Is it possible for example to get a report, mid-execution, similar to what FastMM generates upon closing the application? FastMM obviously stores that information somewhere.

As a bonus for me, if people can recommend a good reference (book, website) on the subject, it would also be much appreciated. There are tons of info on the net, but it’s usually very case-specific and experts-oriented.

Thanks!

PS: This is not about finding leaks, no problem there, just trying to understand memory management better and be pre-emptive for the future, as our application uses more and more memory.

  • 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-20T23:51:18+00:00Added an answer on May 20, 2026 at 11:51 pm

    Some of your questions are easy. Well, one of them anyway!

    Why is there some FastMM-allocated
    memory and some “System-allocated”
    (and reserved) memory? Since FastMM is
    the memory manager, why is the system
    in charge of allocating some of the
    memory?

    The code that you write in Delphi is only part of what runs in your process. You use 3rd party libraries in the form of DLLs, most notably the Windows API. Anytime you create a Delphi form, for example, there are a lot of windows objects behind it that consume memory. This memory does not get allocated by FastMM and I presume is what is termed “system-allocated” in your question.

    However, if you want to go any deeper then this very rapidly becomes an extremely complex topic. If you do want to go deeper into the implementation of Windows memory management then I think you need to consult a serious reference source. I suggest Windows Internals by Mark Russinovich, David Solomon and Alex Ionescu.

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

Sidebar

Related Questions

I recently had an issue with some javascript that goes against every bone of
I had an issue with my game that allowed people to easily fake their
I've had an issue that I thought was tinyMCE, then my db, now I
Recently, my friend helped me fix a background overlay problem. I had an issue
I recently asked a question (and had it answered) here: jQuery Load JSON I
I have a piece of mature geospatial software that has recently had areas rewritten
I recently had this issue with a client. The code read: ini_set( sendmail_from, noreply@<current-domain>.com
Recently for the second time, I've discovered a webpage that had been displaying properly
I'm a php developer, but recently had to write the same application twice, once
I recently had an issue with a subreport of my JasperReports 's report in

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.