ISAPI DLL Web Application - Out of Memory

I have compiled a ISAPI DLL web application is running well last time ..but now, more and more users getting in, it can up to 50 user at the same time ...i did reboot my webserver machine once in a day ...but during weekend .nobody did it ...that's why the DLL always come out "Out of Memory" message ...i get this message by using try-except blocks there any way to find out why ?
if not, any source code which i can use to free my server machine memory ?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

i guess it is best that you check your DLL for memory leakage... perhaps some objects are not freed, etc.?
ivylnmAuthor Commented:
i already checked many times, it is really hard to find out where is the leakage normal conditions, all the objects will be freed ....
For ISAPI projects, if would be better to add ShareMem unit to uses clause. It is responsible for memory allocation, deallocation and stuff like this. Compiling with standard memory manages cause problems.
There was also FastShareMem (not from Borland). Take a look in Google for it. I haven't used it, but I've heard that it is better.
Mohammed NasmanSoftware DeveloperCommented:

  Most of cause of this problem came from two side, Memory leaks or Memory fragmentation

for the first one, you can use of tools that will help you to detect the leaks in your code, look at these
MemProof (Free)
AQTime (not free but has more features and )

and for memory fragmentation, you need to replace the borland memory manager that came with Delphi

one of good and powerful MM for Delphi, and used by many 24x7 application is Nexusdb MM

PAQed with no points refunded (of 500)

Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.