delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/24/04:23:07

Message-Id: <4.1.19981124095552.00a42df0@hal.nt.tuwien.ac.at>
X-Sender: tony AT dictator DOT nt DOT tuwien DOT ac DOT at
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Date: Tue, 24 Nov 1998 10:22:52 +0100
To: djgpp AT delorie DOT com
From: Anton Helm <tony AT dictator DOT nt DOT tuwien DOT ac DOT at>
Subject: Re: Message: Load error: No DPMI memory
In-Reply-To: <Pine.SUN.3.91.981123171933.24468G-100000@is>
References: <19981123131535 DOT 12543 DOT rocketmail AT send102 DOT yahoomail DOT com>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

At 17:30 23.11.98 +0200, you wrote:

>> DPMI memory available: 7639 kb 
>> DPMI swap space available: 10101 kb 
>> 
>> Machine has 40 MB RAM installed.
>
>Don't pay attention to what go32-v2 reports on NT: the NT DPMI server 
>lies to it about the amount of memory it can allocate to DPMI clients.  
>If you want to know the truth, throw together a small program that 
>allocates memory in chunks slightly smaller than 4KB, and make it report 
>how many chunks it succeeded to allocate before malloc returned NULL.  
>Then multiply by 4KB, and you get the amount of available DPMI memory.

Had some problems myself with go32 and WinNT4.0 recently. 

I tried to run the <display> program which is compiled with djgpp v1.12m3.
I don't want to display anything but run some batch commands.
It works for a while and then gives up with memory problems.

Inspecting memory with go32-v2 gives garbage but obviously there *is*
only garbage left... because <display> cannot be started again to continue
with its work. I have to close the dos-box and reopen it to continue.

I'll test it tonight as Eli suggested (see above).

<display> seems to eat up all the dpmi memory and doesn't even free it
when it terminates (which is somewhat strange).

Sometimes WinNT pops up a message that the 
"System is running low on virtual memory"
(48MB RAM and 150MB of swap space, no other programs running)

I've tried several different versions of go32 without any change.

Unfortunetly I have no sources for <display>, the author seems to
have vanished and the original distribution site doesn't have his
directories any more. (And I'm not sure if the sources have ever been 
published at all.)

Questions:

1) Is there a problem with v1 programs and WinNT in general ?

2) Anyone out there who has access to the sources of <display> ?

3) Someone who has compiled <display> for DJGPP v2.x ?

4) Any hints, how to make the current setup work better ?



Tony





**************************************************************
Dipl.-Ing. Anton HELM   *T*  mailto:tony AT nt DOT tuwien DOT ac DOT at
Institut fuer           *U*  http://www.nt.tuwien.ac.at/~tony/
Nachrichtentechnik und  *W*  http://www.nt.tuwien.ac.at/
Hochfrequenztechnik     *I*  talkto:tony AT eagle DOT nt DOT tuwien DOT ac DOT at
Guszhausstr. 25/389     *E*  phoneto:+43-1-58801-38920
A-1040 Wien, AUSTRIA    *N*  faxto:+43-1-5870583
**************************************************************
finger -l tony AT penguin DOT nt DOT tuwien DOT ac DOT at      for PGP public key
**************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019