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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:35:18+00:00 2026-05-19T01:35:18+00:00

I have an empty project (it contains just a form). If I add this

  • 0

I have an empty project (it contains just a form). If I add this line to the project ‘USES GR32_Image;’ and run the application, FastMM shows leak in the program. FastMM is set to full debug. There is NO code in my program – except what Delphi IDE generates and except the ‘uses gr32’ line.

The report makes no sense.
Here is the full log: http://pastebin.com/Yhev3rJ2
And here is the source code: http://pastebin.com/VjRrRiS8

I have used the Graphics32 unit before and I never had problems. Why I have this leak and why FastMM cannot generate a proper report?

  • 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-19T01:35:19+00:00Added an answer on May 19, 2026 at 1:35 am

    Compile your app with full debug info, then in the linker options, make sure your debug info is in the .EXE and/or .MAP file.

    Then run FastMM with FullDebugMode, and copy/paste the resulting .TXT file in your question.

    See also this post for more tips.

    Edit:

    A good first step is to do something like this on your .TXT file:

    find "The allocation number is" < fastmmlog.txt | sort /R
    

    That gives you the first allocation number, in your case 281.

    From that, you search in the .TXT for the allocation number:

    --------------------------------2011/1/7 23:31:03--------------------------------
    A memory block has been leaked. The size is: 20
    
    This block was allocated by thread 0x1540, and the stack trace (return addresses) at the time was:
    402D80 [System][System][@GetMem]
    40388F [System][System][TObject.NewInstance]
    403C12 [System][System][@ClassCreate]
    4038C4 [System][System][TObject.Create]
    403C12 [System][System][@ClassCreate]
    403C6A [System][System][@AfterConstruction]
    457922 [GR32_Bindings][GR32_Bindings][NewRegistry]
    45807E [GR32_LowLevel][GR32_LowLevel][RegisterBindings]
    458152 [GR32_LowLevel][GR32_LowLevel][GR32_LowLevel]
    404373 [System][System][InitUnits]
    4043DB [System][System][@StartExe]
    
    The block is currently used for an object of class: TList
    
    The allocation number is: 281
    

    Here you can see, that the NewRegistry is involved in your leak.
    From there, you can start debugging to find out why it leaks.

    –jeroen

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

Sidebar

Related Questions

I have just solved problem23 in Project Euler, in which I need a set
I have this piece of code I've done so far: $assign = $_POST['assign']; if(!empty($name)
I have a login.jsp page which contains a login form. Once logged in the
I have a project that contains a single module, and some dependencies. I'd like
We have in one of our applications a single eclipse project that contains all
Xcode 4 project contains two targets: " normal " application target and " test
In Eclipse, I have one existing project, A. Right now, I have just created
I have just finished writing the core section of a project I am working
I have a Visual Studio Solution. Currently, it is an empty solution (=no projects)
I have some flatpages with empty content field and their content inside the template

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.