Skip to content

TDataset implementation doesn't free its fields instances after closing

Original Reporter info from Mantis: FPCCore
  • Reporter name: FPC core team

Description:

The title is quite descriptive.
This behavior (bug?) can leads to a lot of memory usage in datasets that open/close often (Principally sql based datasets)

Here's a program that demonstrate this.

I used ProcessExplorer to view the memory usage

Additional information:

Reporter: Luiz Americo
EMail: pascalive at bol dot com dot br

Mantis conversion info:

  • Mantis ID: 5922
  • OS: Win32
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information