[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Memory Leak on Win2K Server IIS5

Posted on 2006-05-30
5
Medium Priority
?
175 Views
Last Modified: 2010-04-05
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
0
Comment
Question by:tesipro
  • 3
  • 2
5 Comments
 
LVL 28

Accepted Solution

by:
2266180 earned 750 total points
ID: 16788130
if on server side you allocate memory, then yes, it is necessary. there is no garbage collector in delphi 7 ;)
0
 

Author Comment

by:tesipro
ID: 16788231
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.
0
 
LVL 28

Expert Comment

by:2266180
ID: 16788257
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.
0
 

Author Comment

by:tesipro
ID: 16788321
Ok, thank you for your answer and your time.
0
 
LVL 28

Expert Comment

by:2266180
ID: 16788442
no problem. glad to help, though didn't help much here.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Loops Section Overview
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question