Message-ID: <3934AFC1.68C3AF39@htsol.com> Date: Wed, 31 May 2000 09:22:57 +0300 From: Yoram Hofman Organization: Hi-Tech Solutions X-Mailer: Mozilla 4.61 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: How can I know free memory in bytes? Content-Type: multipart/mixed; boundary="------------7D437EF5E127A1E7CBE84306" NNTP-Posting-Host: 212.179.100.97 X-Trace: 31 May 2000 09:23:44 +0200, 212.179.100.97 Lines: 41 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. --------------7D437EF5E127A1E7CBE84306 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello friends. My DOS program has to run a long time in stand alone system. So I am wonder to know about memory leaks. I am interested in a more detailed information that the function __dpmi_get_free_memory() can give. The structure __dpmi_free_mem_info uses pages. Can anybody tell me the way to know about free BYTES? thanks for the tip. --------------7D437EF5E127A1E7CBE84306 Content-Type: text/x-vcard; charset=us-ascii; name="yoram.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Yoram Hofman Content-Disposition: attachment; filename="yoram.vcf" begin:vcard n:Hofman;Yoram x-mozilla-html:FALSE org:Hi-Tech Solutions version:2.1 email;internet:yoram AT htsol DOT com tel;cell:(972)52614327 tel;fax:(972)66441870 tel;work:(972)66441890 title:R&D Mgr & Intl Mkt adr;quoted-printable:;;3 Industry Rd ITH Building=0D=0ARamat Gabriel Industrial Park=0D=0APoBox #133;Migdal Haemek;;10500;Israel fn:Yoram Hofman end:vcard --------------7D437EF5E127A1E7CBE84306--