AQTime?
Thanks for the response,
Mark
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of DZ-Jay
Sent: Monday, January 07, 2008 10:53 AM
To: ICS support mailing
Subject: Re: [twsocket] Memory leaks...
On Jan 7, 2008, at 11:45, zayin wrote:
I located
, January 07, 2008 11:10 AM
To: 'ICS support mailing'
Subject: RE: [twsocket] Memory leaks...
Hi,
The TWSocket is on a TDataModule. I am creating the TDataModule and yes I am
freeing it. If I was not freeing the TDataModule it would be reported as a
leak, along with the other items on the TDataModule.
I
Hello,
tcpPort: TWSocket;
tcpPort.Connect
AQTime is reporting a memory leak after I call connect.
Has anyone run into this issue?
D2007 SP3 XP Pro SP3
5.25 is in the WSocket file.
Ciao,
Mark
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
Hello Mark,
When you call connect the function returns immediatily, but the
connection happens in background. So it is normal there is memory
allocated. Needed memory is not nececarely a leak.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
If the stream behaviour is what you need, I don't see any problem with
that.
What about memory allocation ?
Paul
PS: for all who's concerned about memory leaks :
I've asked Pierre le Riche (author of FastMM) about memory consumption.
The only thing you need to check is the virtual memory.
If the stream behaviour is what you need, I don't see any
problem with that.
What about memory allocation ?
It is better to keep the object created of course. But this doesn't change
anything regarding to what the object optimize the memory it may have
allocated.
Contribute to the SSL
If FastMM doesn't report any leak, then the increase probably result
from memory fragmentation.
I think FastMM solved the memory-fragmention-problem of the old Delphi
memory manager. That's at least my expierence in applications where
GetMem/FreeMem is called frequently (several thousands
I see no difference between http and https. so SSL has nothing to do with it
Paul
- Original Message -
From: Arno Garrels [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Sunday, October 08, 2006 8:40 PM
Subject: Re: [twsocket] Memory leaks
Paul wrote:
Hi
I see no difference between http and https. so SSL has nothing to do with
it
That's a good news. It eliminate the need to investigate for the SSL part.
Have a look at your global dynamic variables and dynamic variables assigned
to forms which have the same timelife as the program.
Contribute to
That's a good news. It eliminate the need to investigate for the SSL part.
Have a look at your global dynamic variables and dynamic variables
assigned
to forms which have the same timelife as the program.
Everything is created in runtime.
Basically, I created an object that I can use in a
That's a good news. It eliminate the need to investigate for the SSL
part.
Have a look at your global dynamic variables and dynamic variables
assigned
to forms which have the same timelife as the program.
Everything is created in runtime.
Basically, I created an object that I can use in
It is always interesting to reuse objects instead of destroying them and
recreate a fresh copy. But speaking about stream, it depends on the type
of
stream. A TFileStream has to be destroyed to close the file.
So as long I'm sending streams with a HttpCli, I don't need to free the
stream
On 10/9/06, Paul [EMAIL PROTECTED] wrote:
It is always interesting to reuse objects instead of destroying them and
recreate a fresh copy. But speaking about stream, it depends on the type
of
stream. A TFileStream has to be destroyed to close the file.
I thought about extending HTTPCli and
It is always interesting to reuse objects instead of destroying them
and
recreate a fresh copy. But speaking about stream, it depends on the
type
of
stream. A TFileStream has to be destroyed to close the file.
I thought about extending HTTPCli and adding a property,
On 10/9/06, Francois PIETTE [EMAIL PROTECTED] wrote:
I thought about extending HTTPCli and adding a property,
CreateMemoryStreams. I use memory streams with HTTPCli and have to
do this for every use. It would be nice it the create/free code was
already done for me with a simple property
It is always interesting to reuse objects instead of destroying them and
recreate a fresh copy. But speaking about stream, it depends on the type
of
stream. A TFileStream has to be destroyed to close the file.
So as long I'm sending streams with a HttpCli, I don't need to free the
stream
Hi,
When my program is running (sending a stream about each second with
SslHttpCli), I see the memory useage in the taskmanager increasing
continuous.
The SslHttpCli is running in a seperate thread.
FastMM doesn't report any memory leaks, except for a string(20 bytes)
AssumeMultiThreaded is
Paul wrote:
Hi,
When my program is running (sending a stream about each second with
SslHttpCli), I see the memory useage in the taskmanager increasing
continuous.
The SslHttpCli is running in a seperate thread.
FastMM doesn't report any memory leaks, except for a string(20 bytes)
.
--
Contribute to the SSL Effort. Visit
http://www.overbyte.be/eng/ssl.html --
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: Paul [EMAIL PROTECTED]
To: TWsocket twsocket@elists.org
Sent: Sunday, October 08, 2006 4:50 PM
Subject: [twsocket] Memory leaks
Hi
Paul wrote:
Hi,
When my program is running (sending a stream about each second with
SslHttpCli), I see the memory useage in the taskmanager increasing
continuous.
May be cached SSL sessions are the reason?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
The
BTW: Are you using (OverbyteIcs)SslThrdLock.pas which is a Must when
running OpenSSL multi-threaded?
No, how to use it ?
Paul
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at
Paul wrote:
BTW: Are you using (OverbyteIcs)SslThrdLock.pas which is a Must when
running OpenSSL multi-threaded?
No, how to use it ?
It's described in the unit header.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Paul
--
To unsubscribe or change your
- Original Message -
From: Arno Garrels [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Sunday, October 08, 2006 8:49 PM
Subject: Re: [twsocket] Memory leaks
Paul wrote:
BTW: Are you using (OverbyteIcs)SslThrdLock.pas which is a Must when
running OpenSSL multi
I'm using V5 with this application.
I don't have this unit
Paul
- Original Message -
From: Arno Garrels [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Sunday, October 08, 2006 8:49 PM
Subject: Re: [twsocket] Memory leaks
Paul wrote:
BTW: Are you using
Hi Arno,
i don't see any reason why i can't have a clent in the main thread and one
in a seperate thread working together with the dll's.
This would mean that 2 applications wouldn't be able to use the same
SSL-dll's also
Paul
--
To unsubscribe or change your settings for TWSocket mailing
-
From: Arno Garrels [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Sunday, October 08, 2006 8:49 PM
Subject: Re: [twsocket] Memory leaks
Paul wrote:
BTW: Are you using (OverbyteIcs)SslThrdLock.pas which is a Must
when running OpenSSL multi-threaded?
No, how to use
Paul wrote:
Hi Arno,
i don't see any reason why i can't have a clent in the main thread
and one in a seperate thread working together with the dll's.
This would mean that 2 applications wouldn't be able to use the same
SSL-dll's also
OpenSsl is thread safe as long as we provide the
27 matches
Mail list logo