SMTP: How to Find Available Memory

Last reviewed: October 20, 1997
Article ID: Q108374
3.00 MS-DOS kb3rdparty kbtlc

The information in this article applies to:

  • Microsoft Mail Gateway to SMTP, version 3.0

SUMMARY

Version 3.0 of the Microsoft Mail Gateway to SMTP displays the memory available to the log file or the Gateway PC screen in the following line:

   Idling: 48452 bytes, largest 47428

This means that, in conventional memory, after the Gateway has loaded, there are 48452 bytes available, and the largest contiguous space is 47428 bytes. These numbers vary depending on whether the TCP/IP and networking software are loaded high.

NOTE: SMTPGATE.EXE must be executed with a -Cd parameter.

MORE INFORMATION

The Gateway code determines the memory available by calling two C library routines:

_MEMAVL    for the available memory
_MEMMAX    for the largest contiguous space.


Additional reference words: 3.00
KBCategory: kb3rdparty kbtlc
KBSubcategory: MailGWSMTP
Keywords : MailGWSMTP kb3rdparty kbtlc
Version : 3.00
Platform : MS-DOS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.