[SOLVED] Not enough available memory...

The intent of this forum is to discuss my DOS TSR programs (available at http://bretjohnson.us), how they work and don't work, new/missing features, status of updates, and anything else related to them that may need to be discussed.

[SOLVED] Not enough available memory...

Postby peliosis » Tue Oct 14, 2014 11:33 am

I have an old PIII 500 Compaq Prosignia 6500, Intel 440BX chipset (in which it supports Legacy mode, however, it will not look through the hub attached to the USB port).

The system has 384 Mb RAM installed. Windows 98 SE (DOS 7.10). 80GB Hard Disk, FAT32 formatted.
I am able to start USBUHCIL without issues. USBHUB reports a 'not enough available memory' error when started through AUTOEXEC, or an external batch file from a prompt. USBKEYB and USBMOUSE start fine.

CONFIG.SYS
Code: Select all
ACCDATE=C-
DEVICE=C:\drivers\xmgr.sys
device=c:\drivers\umbpci.sys
SHELL=C:\COMMAND.COM /E:2048
BUFFERSHIGH=30
FCBSHIGH=4
FILESHIGH=40
STACKSHIGH=9,256
DOS=HIGH,UMB
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
DEVICEHIGH=C:\DRIVERS\UIDE.SYS /D:CD01 /H
installhigh=C:\DRIVERS\SHSUCDX.COM /D:CD01


MEM /C
Code: Select all

Modules using memory below 1 MB:

  Name           Total           Conventional       Upper Memory
  --------  ----------------   ----------------   ----------------
  SYSTEM      34,976   (34K)     10,592   (10K)     24,384   (24K)
  XMGR         2,192    (2K)      2,192    (2K)          0    (0K)
  UMBPCI         176    (0K)        176    (0K)          0    (0K)
  SHSUCDX      6,160    (6K)      6,160    (6K)          0    (0K)
  UIDE           928    (1K)          0    (0K)        928    (1K)
  IFSHLP       2,864    (3K)          0    (0K)      2,864    (3K)
  DOSKEY       3,920    (4K)          0    (0K)      3,920    (4K)
  USBUHCIL    29,712   (29K)          0    (0K)     29,712   (29K)
  USBKEYB      9,184    (9K)          0    (0K)      9,184    (9K)
  USBMOUSE     7,888    (8K)          0    (0K)      7,888    (8K)
  CTMOUSE      3,328    (3K)          0    (0K)      3,328    (3K)
  COMMAND      8,832    (9K)          0    (0K)      8,832    (9K)
  Free       659,696  (644K)    636,032  (621K)     23,664   (23K)

Memory Summary:

  Type of Memory       Total         Used          Free
  ----------------  -----------   -----------   -----------
  Conventional          655,360        19,328       636,032
  Upper                 114,704        91,040        23,664
  Reserved              393,216       393,216             0
  Extended (XMS)    401,489,904    84,099,056   317,390,848
  ----------------  -----------   -----------   -----------
  Total memory      402,653,184    84,602,640   318,050,544

  Total under 1 MB      770,064       110,368       659,696

  Largest executable program size         635,824   (621K)
  Largest free upper memory block          12,560    (12K)
  MS-DOS is resident in the high memory area.


Any thoughts?

EDIT: I have found out why the programs would not load due to the memory error: DO NOT USE LOADHIGH / LH in the batch file!

After I have removed the LH's from each line, each USB TSR loads correctly and without problems. Memory results after removing the loadhigh's:

MEM /C
Code: Select all

Modules using memory below 1 MB:

  Name           Total           Conventional       Upper Memory
  --------  ----------------   ----------------   ----------------
  SYSTEM      34,976   (34K)     10,592   (10K)     24,384   (24K)
  XMGR         2,192    (2K)      2,192    (2K)          0    (0K)
  UMBPCI         176    (0K)        176    (0K)          0    (0K)
  MEM            192    (0K)        192    (0K)          0    (0K)
  SHSUCDX      6,160    (6K)      6,160    (6K)          0    (0K)
  UIDE           928    (1K)          0    (0K)        928    (1K)
  IFSHLP       2,864    (3K)          0    (0K)      2,864    (3K)
  DOSKEY       3,920    (4K)          0    (0K)      3,920    (4K)
  USBUHCIL    29,712   (29K)          0    (0K)     29,712   (29K)
  USBKEYB      9,184    (9K)          0    (0K)      9,184    (9K)
  USBMOUSE     7,888    (8K)          0    (0K)      7,888    (8K)
  CTMOUSE      3,328    (3K)          0    (0K)      3,328    (3K)
  COMMAND      8,832    (9K)          0    (0K)      8,832    (9K)
  USBHUB       5,616    (5K)          0    (0K)      5,616    (5K)
  Free       653,856  (639K)    635,808  (621K)     18,048   (18K)

Memory Summary:

  Type of Memory       Total         Used          Free
  ----------------  -----------   -----------   -----------
  Conventional          655,360        19,552       635,808
  Upper                 114,704        96,656        18,048
  Reserved              393,216       393,216             0
  Extended (XMS)    401,489,904    84,099,056   317,390,848
  ----------------  -----------   -----------   -----------
  Total memory      402,653,184    84,608,480   318,044,704

  Total under 1 MB      770,064       116,208       653,856

  Largest executable program size         635,792   (621K)
  Largest free upper memory block          15,856    (15K)
  MS-DOS is resident in the high memory area.


Unfortunately, the BIOS (even after updating to the most recent) will not boot unless a PS/2 keyboard is attached.
Last edited by peliosis on Wed Oct 15, 2014 9:17 am, edited 1 time in total.
peliosis
 
Posts: 1
Joined: Tue Oct 14, 2014 9:49 am

Re: Not enough available memory...

Postby Bret » Wed Oct 15, 2014 2:15 am

So, you can install USBHUB directly from a command line, but not from inside any kind of batch file? That a weird one. It can't really be an insufficient memory problem, or none of the other programs would install correctly either.

What options are you using when you're trying to install USBHUB (including the USBHUB environment variable, if you have one)? What do the batch files look like?
Bret
 
Posts: 478
Joined: Fri Oct 10, 2008 3:43 am
Location: Rio Rancho, NM


Return to Programs

Who is online

Users browsing this forum: No registered users and 3 guests

cron