Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: Delphi-BCB/Database/DataSnap/Server    [ Add a report in this area ]  
Report #:  133033   Status: Reported
XE8UP1:DataSnapServer has memory leak
Project:  Delphi Build #:  22.0.19908.869
Version:    21.0 Submitted By:   hqun zhu
Report Type:  Crash / Data loss / Total failure Date Reported:  8/11/2015 3:28:54 AM
Severity:    Serious / Highly visible problem Last Updated: 8/16/2015 5:53:42 PM
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None

Build All attchments with XE7, all DSServer have NO memory leak.
Build All attchments with XE8, all DSServer HAVE memory leak.

I do not confirmate whether this issue is resolved in #132553 (later report additional memory leak),
so I reported it
Steps to Reproduce:
Create FMX DataSnap Server:
1. Create FMX DataSnap Server wizard
2. in dpr unit, write:
    ReportMemoryLeaksOnShutdown:= true;
    Application.CreateForm(TServerContainer1, ServerContainer1);
3. run FMX DSServer

Create FMXClient:
1. Create HD FMX Application, write belowe code in dpr unit :
    ReportMemoryLeaksOnShutdown:= true;
2. drag TSQLConnection, Edit, Button on Form1
3. generate DSServer Proxy
4. call EchoString of dsserver method
5. run, and click button to invoke echoString
6. exit client, has no memory leak
7. exit FMX DSServer, HAS Memory leak

Create VCL DataSnap Server, has also memory leak.

DS_Server_FMX.exe reported memory leak:
(DS_Server_VCL.exe same as DS_Server_FMX.exe)
Unexpected Memory Leak
An unexpected memory leak has occurred. The unexpected small block leaks are:

29 - 36 bytes: Unknown x 4
253 - 268 bytes: Unknown x 2


Server Response from: ETNACODE01