Link to home
Start Free TrialLog in
Avatar of tesipro
tesipro

asked on

Memory Leak on Win2K Server IIS5

Hello,
I have develop a WebService Server in Delphi 7 and in a Win2K Server with IIS5 there is a memory leak (no problem in Win2003 Server).

In the client side, that consumes the webservice, also developed in Delphi 7 and run i a Win2K server I call frequently to a function to free memory :

   if Win32Platform = VER_PLATFORM_WIN32_NT then
       SetProcessWorkingSetSize(GetCurrentProcess, $FFFFFFFF, $FFFFFFFF);

but I don't do it on the server side. Is it also necessary?

Best Regards,

Vicente Fuentes
ASKER CERTIFIED SOLUTION
Avatar of 2266180
2266180
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tesipro
tesipro

ASKER

We allocate memory on the server side but why is not necessary garbage collection on Win2003 Server ?
On Win20003 Server I can't see any problem.
garbage collection is something virtual machine specific (java and .net platforms have it). delphi on the other hand is nothing lilke java/.net
I never saw win2003server, but I would think that maybe there is a better memory manager there. but this is just a supposition.
Avatar of tesipro

ASKER

Ok, thank you for your answer and your time.
no problem. glad to help, though didn't help much here.