🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #2122

Re: Global memory loss under MS Windows.

#2122
From: Michael Rys
Date: Fri, 08 Dec 1989 14:51
38 lines
2670 bytes
In article <33666@mirror.UUCP> mguyott@prism.TMC.COM (Marc Guyott) writes:
>Here is something that Jim Champeaux discovered here at Mirror Systems.  I
>am curious to learn if anyone else has experienced similar problems.
>
>The basic problem is that calling MakeProcInstance() when it is not needed
>[even though Microsoft says it is OK but not necessary to call
>MakeProcInstance() in our particular case] even with matching
>FreeProcInstance() calls ends up slowly using up all of free memory.  It
>appears that each call to MakeProcInstance() and FreeProcInstance() uses up
>96 bytes of global memory.  Our program was crashing due to insufficient free
>memory after about 4000 iterations through the code that contained the
>MakeProcInstance() and FreeProcInstance() calls.  Removing the unnecessary
>MakeProcInstance() and FreeProcInstance() calls solved the memory loss
>problem.  We reported this to Microsoft via On-Line but we have not yet heard
>anything from them.
>                                                                    Marc

[stuff deleted]

A year ago I was working on a MS-Windows application. When I left, one of
the few remaining bugs was, that Windows was eating little junks of memory in
undetermined time intervals. The guy who took over my project finally
got an explanation by Microsoft (after I tried 3 months to get one)
which seems to match with the case above. There were some other problems
due to bugs in Windows 2.10 which finally found an explanation by MS
(after waiting for a long time). [On the other hand MS explained a lot
more in very short time...].

Cheers.../Michael
+---------------------------------------------------------------+
| Michael Rys, V. Conzett Str. 34; CH-8004 Zuerich; Switzerland |
+---------------------------------------------------------------+
| UUCP:  mrys@ethz.UUCP or       EAN:     mrys@ifi.ethz.ch	|
|        mrys@bernina.UUCP       IPSANet: mrys@ipsaint		|
| Voice: +41 1 242 35 87					|
+---------------------------------------------------------------+
-- Wovon man nicht sprechen kann, darueber muss man schweigen. --
       Ludwig Wittgenstein, Tractatus logico-philosophicus
Technical Details
Message-ID: <2772@ethz.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!cernvax!chx400!ethz!mrys
References: <33666@mirror.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!cernvax!chx400!ethz!mrys
From: mrys@ethz.UUCP (Michael Rys)
Newsgroups: comp.windows.ms
Subject: Re: Global memory loss under MS Windows.
Keywords: MakeProcInstance, FreeProcInstance, global memory
Message-ID: <2772@ethz.UUCP>
Date: 8 Dec 89 14:51:18 GMT
References: <33666@mirror.UUCP>
Reply-To: mrys@bernina.ethz.ch.UUCP (Michael Rys)
Organization: ETH Zuerich, Switzerland
Lines: 38