So no answer means there is no way to do this? Could this even be
impossible??
Regards,
SZ
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, March 22, 2006 2:07 PM
Subject: Re: [twsocket] Serv
: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, March 22, 2006 10:40 AM
Subject: Re: [twsocket] Server problem (leaking memory)
> Ok here is the core of the problem: The waitforsinglemessage solution
> worked
> for the single
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, March 20, 2006 10:34 PM
Subject: Re: [twsocket] Server problem (leaking memory)
> Arno Garrels wrote:
>> Fastream Technologies wrote:
>>> Ok figured out your logic. It gives
Hello!
>>> Since this time I don't really
>>> on Delphi and free dynamic record members manually.
>>
>> And you don't get AVs and/or Invalid Pointer Operation exceptions?
> No problemo.
> Finalize(P^); or AString := '';
> Dispose(P);
Hint: Dispose acts as Finalize+FreeMem. No need to finalize
Piotr Da³ek wrote:
> Hello!
>
>> I saw some leaks in older Delphi versions when I didn't finalize (may be
>> due a mistake I made when I was a beginner?).
>
> Seems so. Here (D3Prof) everything works properly, no leaks.
>
>> Since this time I don't really
>> on Delphi and free dynamic record mem
Hello!
> I saw some leaks in older Delphi versions when I didn't finalize (may be
> due a mistake I made when I was a beginner?).
Seems so. Here (D3Prof) everything works properly, no leaks.
> Since this time I don't really
> on Delphi and free dynamic record members manually.
And you don't get
Francois Piette wrote:
>> Fastream Technologies wrote:
>>> Interesting. Well I am using classes with string properties and I
>>> thought the destructor of the AnsiString class cleans up the memory
>>> before releasing it.
>>
>> Correct, in classes you don't need to release memory allocated for
>>
> Fastream Technologies wrote:
> > Interesting. Well I am using classes with string properties and I thought
> > the destructor of the AnsiString class cleans up the memory before
> > releasing it.
>
> Correct, in classes you don't need to release memory allocated for strings.
> But you need to fin
ays returns 0 for all fields! Why could this be?
> Regards,
> SZ
> - Original Message -
> From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Monday, March 20, 2006 4:39 PM
> Subject: Re: [twsocket] Server proble
;
> Sent: Tuesday, March 21, 2006 11:23 AM
> Subject: Re: [twsocket] Server problem (leaking memory)
>
>
>> Hello,
>>
>> I don't know if it as something to do but if you use records
>> containing strings, always think to mystring:='
uot;
Sent: Tuesday, March 21, 2006 11:23 AM
Subject: Re: [twsocket] Server problem (leaking memory)
> Hello,
>
> I don't know if it as something to do but if you use records
> containing strings, always think to mystring:='' before releasing
> record
Hello,
I don't know if it as something to do but if you use records
containing strings, always think to mystring:='' before releasing
record memory space because if you free the record, the string
allocation done inside will be kept.
regards.
--
To unsubscribe or change y
GetHeapStatus always returns 0 for all fields! Why could this be?
Regards,
SZ
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, March 20, 2006 4:39 PM
Subject: Re: [twsocket] Server problem (leaking m
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, March 20, 2006 10:34 PM
Subject: Re: [twsocket] Server problem (leaking memory)
> Forgot to mention that I would derive a MT TWsocketServer first that
&g
TWSocketServer.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>>
>> SZ
>>
>> - Original Message -
>> From: "Fastream Technologies" <[EMAIL PROTECTED]>
>> To: "ICS support mailing"
>> Sent:
y, March 20, 2006 6:01 PM
> Subject: Re: [twsocket] Server problem (leaking memory)
>
>
>> Hi,
>>
>> - Original Message -
>> From: "Arno Garrels" <[EMAIL PROTECTED]>
>> To: "ICS support mailing"
>> Sent: Monday, Marc
h 20, 2006 6:01 PM
Subject: Re: [twsocket] Server problem (leaking memory)
> Hi,
>
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Monday, March 20, 2006 4:25 PM
> Subject: Re: [tws
Hi,
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, March 20, 2006 4:25 PM
Subject: Re: [twsocket] Server problem (leaking memory)
> Fastream Technologies wrote:
>>> You say that you post a
Hello,
That is a lot leaking ;(
Use GetHeapStatus and AllocMemSize to check at regular places in your
code to find out where it starts to eat...
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Monday, March 20, 2006, 14:34, Fastream Technolog
Fastream Technologies wrote:
>> You say that you post a message to the worker thread to let it
>> ThreadAttach.
>> What do you do until the worker thread has attached?? You cannot just
>> post a message, you have to wait until the workerthread has allocated the
>> window.
>
> What do you suggest?
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, March 20, 2006 3:54 PM
Subject: Re: [twsocket] Server problem (leaking memory)
> You say that you post a message to the worker thread to let it
> Thre
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, March 20, 2006 3:54 PM
Subject: Re: [twsocket] Server problem (leaking memory)
> But there are various multi-threaded, TWSocketServer derived classes plus
Fastream Technologies wrote:
> Hello,
>
> Our multi-threaded web server leaks 16-32KB per socket now. I hacked a lot
> to make async ICS a MT web server but there has been many issues as ICS
> has no MT web server example.
But there are various multi-threaded, TWSocketServer derived classes plus
Hello,
Our multi-threaded web server leaks 16-32KB per socket now. I hacked a lot
to make async ICS a MT web server but there has been many issues as ICS has
no MT web server example. Note that this leak cannot be catched by
CodeGuard.
I hope we can figure this out together. Up to triggerSessi
24 matches
Mail list logo