Mail Archives: djgpp/1995/02/07/03:54:41
> I had some problems with the 2.6.0 and the 2.6.3 versions, I ran out
> of virtual memory wth a DPMI error. This is completely bogus as I
> have a 8 Mb machine with plenty of /tmp spave as well. I am using
Did you try to establish how much memory does your DPMI host
give to the program until it fails? You could write a program
which just allocates memory until it fails and prints the
allocated size. (Be sure to call calloc(), not malloc(), as
go32 sometimes only gets memory from the system when you
actually access it.) After you have that info, you could check
with the parameters you give to 386max to see what maximum
amount of virtual memory did you specify there (you *did*
specify virtual memory, did you?).
> 386max.sys version 7.0 for a DPMI host (v. 1.0). When I used the
> NODPMI option using 386max, everything works fine. Also I am using
You might also put ``nodpmi'' into your GO32 environment variable,
so DPMI services will be still available to other programs while
go32 won't use them. Btw, DJGPP programs run faster when go32
doesn't use DPMI, so you might do it anyway.
- Raw text -