OUT OF HUNK memory

When ever I play MS-DOS sierra games like quest for glory or kings quest.  Every 20-30 minutes DOS will become a window and say in text "OUT OF HUNK!"  If there is anywhere or anyone who can get me more HUNK I will give them 150 points.

As you might kno wHUNK is a tpye of memory in old computers. But nowadays not even my cyrix 486 100 has enough HUNK.  computers like DELL PENTIUMS have almost no HUNK.
KornKobManAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KornKobManAuthor Commented:
Sometimes a get a messages that says OUT OF HANDLES or OUT OF WACK like HUNK these are also types of memory.
0
Somebody_elseCommented:
I have heard of the the "out of handles" problem
this is a config setting.
go into your config.sys and look for a setting:
files=40
or
buffer=40

increase those numbers and it should take care of the "out of handles" problem
0
trisoCommented:
Are you playing these games in DOS or in a Windows shell?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

nfcdrummerCommented:
actually with the files and buffers settings, you should actually only have about files=30 UNLESS you are running Windows (3.1 or 9x), in which case you should have files=50 at least

Freeing up files frees up extra xms which should solve some problems

Also, games that were after KQ4 will probably need at least a Pentium to run properly anyway, as all Sierra games seem to have gotten lots better after kq4.
0
KornKobManAuthor Commented:
Yes they have, but no my comp will run them just fine. and somebody_elase i will try that thanks.
0
paaskyCommented:
Hi KornKobMan,

I think "Out of Hunk" error message comes when you run out of conventional memory.

Try to free conventional memory. To to this ensure that DOS loads into upper memory and remove any tsr program not needed by the game (such as doskey, keyb) from your config.sys and autoexec.bat. When you have near 600K free, Sierra's (and many other) old games should work better.

You should have these lines in you config.sys:

DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE /NOEMS
DOS=HIGH,UMB

You can also create a boot disk with memory optimized startup files and start your computer with it when you're going to play Sierra's old games.

Good luck!
0
KornKobManAuthor Commented:
that is a good idea paasky.  List is as an ansewer and i'll accept it.  I have done that before on an old comp and I just frogot I did.  Thanks!
0
paaskyCommented:
I think "Out of Hunk" error message comes when you run out of conventional memory.

Try to free conventional memory. To do this ensure that DOS loads into upper memory and remove any tsr program not needed by the game (such as doskey, keyb) from your config.sys and autoexec.bat. When you have near 600K free, Sierra's (and many other) old games should work better.

You should have these lines in you config.sys:

DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE /NOEMS
DOS=HIGH,UMB

You can also create a boot disk with memory optimized startup files and start your computer with it when you're going to play Sierra's old games.

Good luck!  
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KornKobManAuthor Commented:
thank's paasky Now I can finaly play my old quest for glorys without having to save ever 5 minutes.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Computer Games

From novice to tech pro — start learning today.