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...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 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 VCL Memory Leak?
I am dealing with a slow memory leak that causes a massive program to fail after more than a week running. So I started a leak hunt by stripping down the app to the first self written unit and checking. Low and Behold, it leaked. So I started with just a bare bones App - frame only, and it Leaked. I have duplicated it on Delphi 6 and on Borland Developer Studio 2006. Start with a new VCL app. Add nothing, but compile and run. Now Ctrl-alt-Del and set up to watch the memory of your empty app with out overl
apping the app screen. Now click on your app and watch the memory size grow with every c...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.
...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...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';
...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 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?
...superreview requested: [Bug 306785] memory leaks in PQG_ParamGenSeedLen : [Attachment 194622] fix for memory leaks
Julien Pierre <firstname.lastname@example.org> has asked Robert Relyea
<email@example.com> for superreview:
Bug 306785: memory leaks in PQG_ParamGenSeedLen
Attachment 194622: fix for memory leaks
------- Additional Comments from Julien Pierre <firstname.lastname@example.org>
I have tested this and verified the 2 leaks are gone. all.sh still passes.
I'm not 100% sure that my change in getPQseed is correct . The code was
previously freeing and re...Memory Leak or memory reconfig?
Memory issues on NW6.5 SP4
2GB of memory
GWIA,MTA box with GWAVA
I only know of the seg.nlm util used in conjunction with memcalc.exe tool
to calculate the proper -u amount. This server does not qualify for this
tool though because it has -2gb.
Any ideas on how I should calculate the -u amount or should I be looking
at another issue?
9-05-2006 7:02:48 pm: SERVER-5.70-3707 [nmID=120004]
Server logical address space is running low. Increase the available
logical space by restarting the server wit...Releasing memory / memory leaks
I was always under the impression that when developing in ASP.Net you don't need to worry about releasing memory i.e. in your pages/functions/subs you can create as many variables/objects as you want, use them and then 'walk away' and let asp clear up the mess - but after doing some browsing on the web there are a number of people who do not this this is the case. Can anyone give me a definative answer on this.
i.e. if i have something like this at the top of my proc :
dim mObj as new MyClass
do i have to put mObj = nothing at the end.
What about things like colle...memory, memory, memory
Summary: memory, memory, memory
I run firefox all day like I run Outlook. I open/close a zillion tabs
using a single instance of firefox, usually no more than 6 tabs at a
time. But I've had 20 tabs open at once while I'm culling the NY Times
articles I want to print.
Every so often my mouse stops moving. Taskmgr shows firefox has 256
Megs of memory (or something equally large) and is using 95% of the cpu.
Why?? Make this nonsense stop!
Forget the IE/Firefox/Chrome competition. T...