Not enough free memory
Result: [Error!]
Press any key to abort.
The mem command in dos shows 11,357K free total, 648K under the 1MB
and 615K largest executable program.
When running the original game the "about" screen shows memory as
10,828 total and 4976K free.
Any suggestions? I have tried too many options to list here to no
avail. I just wonder if it is the patch or my memory management.
Thanks in advance!
Hunter
Do earlier versions of TTDPatch work (eg, 2.0 rev 1)? What if you enable the
"lowmemory" switch
(http://wiki.ttdpatch.net/tiki-index.php?page=LowMemoryVersion)?
--
Owen Rudge
http://www.owenrudge.net/
Hunter
On Sun, 10 Feb 2008 23:58:29 -0000, "Owen Rudge" <nn...@owenrudge.net>
wrote:
I'm not sure exactly how lowmemory goes about keeping memory usage down,
although according to the wiki it does this mainly by restricting the
vehicle factor and new graphics. I'm not sure if it'd have much of an effect
on performance, it probably just won't let you use too many custom features.
Regards,
The switch has two effects:
1. It prevents you from loading any game saved with a larger vehicle
array (in other words, the 'morevehicles' switch must be set the same or
higher as it was when the game was saved -- otherwise you get a "Game
load failed" message; normally you would probably get a warning). This
is the primary source of memory savings, since normally TTDPatch
reserves memory for the largest array possible (more than 4 MB).
2. The cache for the ordinary TTD sprites is set to 800 KB instead of
the usual 4 MB. This may mean more frequent disk accesses, which in
turn *may* affect the performance -- but frankly, I doubt you'll notice
it much, unless you have a really slow hard disk.
Note, however, that new graphics are loaded separately, and add to the
memory usage anyway (but on the positive side, they don't require disk
access during the game). Thus, you may get out of memory again if you
add many new graphics sets to newgrf.cfg.
BTW, I've checked the latest sources; the behaviour of the switch hasn't
changed since 2.0.
--
Marcin Grzegorczyk
Hunter