Delphi and Delphi for .Net
It seems that Delphi for .Net is slower than Delphi Win32 native applicaiton.
I would like to know is it true all .Net application is slower than Win32 native applicaiton or it is Delphi for .Net only.
Your information is great appreciated,
On 2011-06-21 18:20:17 +0100, Inung Huang said:
> It seems that Delphi for .Net is slower than Delphi Win32 native applicaiton.
> I would like to know is it true all .Net application is slower than
> Win32 native applicaiton or it is Delphi for .Net only.
If you are only running the code in the application once then, yes, yo...Delphi XE memory leak?
I was browsing the net in search of DelphiXE reviews and features, when I found out [this| http://delphibugs.blogspot.com/2010/09/xe-new-bug-1-wild-memory-eating.html ]
Can anyone confirm? I have not finished downloading the trial ISO yet (2 hours remaining <g>), but I will try to reproduce it myself when it's done.
I didn't believe it would happen, but it did the same thing in my VM. I
only even did it to say "doesn't happen here" because I find single
purpose blogs like that astonishingly annoying. In any case, he's right.
What&...Delphi 2009 memory leak
I have a small app that uses dbExpress for MS SQL. I have the apps ReportMemoryLeaksOnShutdown set to true. Any time I use dbExpress to call a simple stored procedure (returns a single record with 2 fields) when I close the application memory leaks are reported. I am unable to determine if there is a known memory leak with the dbExpress driver. Can anyone help? This is driving me nuts.
Here is the message text:
Unexpected Memory Leak
An unexpected memory leak has occurred. The unexpected small block leaks are:
21 - 28 b...delphi 2010 memory not released when closing delphi project
each time im runing delphi 2010 the memory that was used was not release after closing a project and the memory don't stop to grow and the browsing for file becoming slow
any idea ?
Pierre Auger wrote:
> each time im runing delphi 2010 the memory that was used was not
> release after closing a project and the memory don't stop to grow and
> the browsing for file becoming slow
> any idea ?
You are using some 3rd-party components that do not properly release
memory in their design-time packages would be my guess. A design-time
package stays l...Memory usage in Delphi 2007 vs. Delphi 5
Going from Delphi 5 to Delphi 2007 and finding something way unexpected.
The reportedly *same code, and same data,* uses about 104 MB in Delphi 5
and about 400 MB in Delphi 2007 according to the Windows Task Manager.
Now, I know that it is not the most accurate way of measuring memory
usage, but it gives us an idea of the proportion of memory use in Delphi
Before we go deeper, we just created 20,000 objects and added them to an
object list in Delphi 5 and 2007. The result in memory use still looks
like 50 MB (Delphi 5) to 178 MB (Delphi 2007).
We've downloaded ...Delphi 2009 HTTPRIO Memory Leak
After wrestling with issues about when to and when not to free HTTPRIO objects created in code, I still have one problem:
With Delphi 2009 I have a routine that calls a SOAP function derived from a WDSL call that returns a TXMLData objects (actually it is just some XML, but that is what was created by the interface). The HTTPRIO object is created in code.
I am explictly freeing the returned TXMLData, but there remains some memory leaks which I am having problems tracking down.
Are there any known gotchas for using this or are there other references I have to explicitly free?
...FastMM in Delphi 2010
Is there a way to get a memory leak report with FastMM either with the embeded version or the standalone that gives you the line number where the memory leak occur like Memcheck does.
Thanks in advance.
Ronaldo Santana wrote:
> Is there a way to get a memory leak report with FastMM either with
> the embeded version or the standalone that gives you the line number
> where the memory leak occur like Memcheck does.
> Thanks in advance.
I use this as default in my applications:
ReportMemoryLeaksOnShutdown:= DebugHook <> 0;
Hi Cesar...Delphi XE TSQLStoredProcedure Memory Leak
I am running into a memory leak when I am using a TSQLStoredProcedure created at run time with parameters.
Here is code example that is creating the problem.
// Create the stored procedure.
SQLStoredProcedureRecordEvent := TSQLStoredProc.Create(nil);
// Set the parameters of the stored procedure.
with SQLStoredProcedureRecordEvent do
// Set the sql connection.
SQLConnection := SendgridEventHandlerDM.DataModule_SendgridEventHandler.
// Set the name of the procedure.
StoredProcName := 'CreateBounceRecord';
...Delphi 2010 - dbexpress
I use the dbx driver for firebird named dbxfb.dll and in my application i do a select every seconds. the memory of the process increase every 30 minutes but when i use Fastmm to check the memory leaks : no memory leak.
I have noticed that if i do not do the open and close primitive, no more memory leak !!
Here is my source
LQuery := TSQLQuery.Create(Self);
LQuery.SQLConnection := SQLConnection;
LQuery.CommandText := 'SELECT * FROM '+ TableName + ' where EventId = :EventId';
LQuery.ParamByName('EventId').AsInteger := EventId;
LResult...Where is the memory leak in this Delphi code? [Edit]
"Also, ask here if you don't know which group is best for your post" - moderator, please move this if you know of a better forum. Thanks!
Can anyone help? I asked this on Stack Overflow and got it closed as "not a real question" (because "where is my memory leak" isn't a real question?).
I have been searching for weeks and am desparate. I have thrown out 95+% of my code and still hit out of memory errors. Can soemone pelase help me?
[Update: I may not have made it clear that the memory leak is in the server, not the client. Sorry]
Here's ...Delphi 2009 memory consumption (leak?)
I'm converting an old project of a couple of hundred files to Delphi 2009. In the process, I'm also changing the policy so, that instead of adding all my folders with code files to search path, I add the code files directly to the project and keep the search path empty (this among other things because at least in older Delphi's the length of the search path was limited and I started hitting the limit). At the same time I want to clean the project so, that I only add the files really needed, since my folde
rs contain lots of legacy code files also that are no longer used.
...Memory Leak, Leak, Leak, Leak.....
I have spent a lot of time watching the life being sucked out of my computer
as I develop using PB during the day. I can document PB 7.0 8030 leaking
memory every time I open and close the library, save an userobject, open a
datawindow, etc. Some times the memory comes back when when I close PB, but
mostly not. On one occasion I watched a nearly full restoration of
available memory after closing Powerbuilder and then MSOutlook. How could
MSOutlook release memory?
Anyhows, I just had to vent. Is anyone else suffering the slow loss of
memory? I don't see a lot of thr...TDBChart and Delphi XE5 Update 2
I've just converted a chart-heavy project from Delphi XE3 to Delphi XE5. I'm using the Standard TeeChart edition included with Delphi
EurekaLog is now reporting memory leaks in VCLTee.DBChart where no leaks were reported in XE3
The leaks are still evident even with a new project and a single TDBChart with three bar series connected to a TADOdataset using the TeeChart designer in the IDE with no code.
Is there anything I can do about this, given that I have no access to the source code?
The EurekaLog report:
|Methods |Details|Stack |Address |Module |Offset |...Use of the build-in memory leak detector in Delphi 2010
I want to track the memory leaks in my application (I know there are some) but I can't find how to get the build-in memory leak detector to work.
I've search on the net, on these forums and in the online help about this, but I couldn't find where in Delphi I should go to activate it.
As no memory leaks are ever reported, even if I know there are some, I guess it's not activated.
Thanks for your help.
Am 23.06.2010 09:42, schrieb Yoann Coldefy:
> I want to track the memory leaks in my application (I know there are some) but I can't find how to get the ...