Welcome, Guest
Username: Password: Remember me
Components and Libraries for Database Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

Memory leaks in TSQLQuery CT 5.60 Win32 8 years 4 months ago #8897

  • HIGH-Zen
  • HIGH-Zen's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 26
  • Thank you received: 1
Hello
Memory leaks in TSQLQuery

Win7 Home Premium 64 bit
Code Typhon 5.60
Typhon32 for Win32

Test is based on this tutorial
www.alevel-computing.x10.mx/TutorialLazarusSQLite.php

Steps to reproduce:
1. Run programm: sqlitetest.exe
2.a. Click "Connect" button, close application.
2.b. Click "Connect" button, press "Show Whole Database" button (one or more times), close appliation.
Result: Heaptrc is reporting that a memory leaks occured (In SQLQuery1.Open; in this case. In TSQLQuery in general).

This code was tested with CodeTyphon 4.80, Typhon32 for Win32, and Heaptrc was reporting that there are no memory leaks in this code.

In attachment both versions:
TestMemSQLiteConnect560 - project and compiled program
TestMemSQLiteConnect480 - same project compiled with Typhon 4.80

File Attachment:

File Name: TSQLQueryM...Leaks.7z
File Size:1,614 KB

Is there some way to fix this? Thanks.

Edit:
P.S.
Tested same code with FireBird and CT 5.60 and result is the same - Heaptrc is reporting that a memory leaks occured.

Please Log in or Create an account to join the conversation.

Last edit: by HIGH-Zen.

Memory leaks in TSQLQuery CT 5.60 Win32 8 years 4 months ago #8898

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
Thanks Sir
please, give us time to test
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Memory leaks in TSQLQuery CT 5.60 Win32 8 years 4 months ago #8899

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
Sir
we test your Project with
Lab CodeTyphon 5.70 revision 5621, Typhon32 and Typhon64 (with a small load sqllite3.dll mod)

is this OK ?

PilotLogic Architect and Core Programmer
The following user(s) said Thank You: HIGH-Zen

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Memory leaks in TSQLQuery CT 5.60 Win32 8 years 4 months ago #8900

  • HIGH-Zen
  • HIGH-Zen's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 26
  • Thank you received: 1
Thanks for quick response.
I found topic with same issue
www.pilotlogic.com/sitejoom/index.php/fo...560-first-impression
Looks like it will be fixed in CT 5.70. I'm not in a hurry, so I can later recompile my projects with 5.70.
Btw Code Typhon rocks! Great job guys! B)

Please Log in or Create an account to join the conversation.

Memory leaks in TSQLQuery CT 5.60 Win32 8 years 4 months ago #8901

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4518
  • Thank you received: 1102
Thanks Sir
have fun...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1