Jump to content

Puzzling Registry Size Issue


Dave-H

Recommended Posts

I have an issue with my Windows 98SE system which I'm hoping that one of the many Win98 experts on here may be able to shed some light on.

It first came up when I tried to install Office XP on the system.

The install went fine, but when I re-started, all I got was the dreaded "VFAT unable to load" BSOD.

It would boot in safe mode, and by trial and error, I discovered that if I disabled my network adaptor in Device Manager, it would boot normally. I could then re-enable the adapter, and it worked fine, but the system wouldn't start normally with it enabled.

I also started to get all sorts of error messages about the registry being corrupted if I tried to test its integrity with utilities like Norton Windoctor.

Eventually I had to fix the problem by using scanreg to restore an earlier version of the registry, but this of course didn't contain the necessary keys for Office XP.

To cut a very long and painful story short, I had to abandon Office XP (it is actually a dual boot system with Windows 2000, and I now use Office XP just on Windows 2000, with no problem.)

Since then I have had this happen again a few times when I've installed new software, and it seems to happen if anything complex is installed which writes a lot of registry data.

What appears to be happening is that the boot fails if the registry gets to above a certain size, and it seems to be specifically if the system.dat file gets to above about 12.5MB in size.

I recently proved this (I think!) when it happened again when I tried to upgrade to WMP 9 from WMP 7.1.

The VFAT error came back again on the first reboot after an apparently successful install.

As an experiment I saved some of the Realplayer registry keys as exported files, and deleted the keys. (Realplayer installation writes huge amounts of data to the registry.)

The system then booted fine. I merged the keys back in, and the system wouldn't boot again!

The system is just on edge on this, as I have been able to cure the problem occasionally in the past by compacting the registry by using an optimisation program. However I have now uninstalled the Realplayer, which has reduced the registry size considerably, so that I'm not in imminent danger of this happening again if I install something!

Realplayer was the obvious thing to remove as it does write a huge amount of stuff to the registry, and I didn't use it much anyway. I'll probably just install RealAlternative now instead.

I should say that Realplayer always worked perfectly when it was installed.

So, does anyone have any idea as to why this was happening?

Everything I've read on this subject, and believe me, I've searched a lot, implies that the size of the Windows 98 regisrty is limited only by disk space and memory. I have a huge amount of both.

The symptoms seem to indicate to me that something is happening when the registry files get to a certain size which is preventing them from loading into memory.

I have 1GB of RAM, which Windows 98 seems to be recognising and using.

My motherboard is a Supermicro dual Zeon server board (Intel chipset), which I gather hasn't been tested with Windows 98, but seems to work fine apart from this issue.

Could it be a motherboard issue?

Does the Windows 98 registry go into some special place in memory which isn't as big as it should be for some reason?

Is disabling the network adaptor somehow releasing space which is allowing the registry to load?

If anyone has any clues on this, I would be very grateful to know, because no-one I've asked so far has even ever heard of this happening before!

Thanks, Dave.

:)

Edited by Dave-H
Link to comment
Share on other sites


I am on WinMe and if I was on 98 I would probably have bumped in similar issues as the cumulated size of my classes.dat and system.dat is above 13MB. The biggest eaters in terms of size seem to be DirectX and the dotnet runtimes with their huge amount of CLSIDs keys.

I think I have read about the registry files having a maximum size on Win9x but I cannot find anything about it now.

What seems certain anyway is that scanreg is unable to compact registry files which are above 8MB.

IMO the best doc about the win9x registry is in japanese : http://www.haltz.com/rgstry2/index.htm

There is one page in english though but for the rest you'll need to use babelfish or google translate. He details several different methods for compacting the registry and there is alot about the registry stucture.

This guy wrote a registry compactor, RegCon which is the only one that does actually work amongst the many claiming to to do that and that I have tried.

He also wrote a registry analyzer, Registrip, which has no equivalent and which displays charts and pies about registry occupation (used space, empty space, dead gaps).

I have translated those two interesting freebies some time ago, the first partially and the second more completely.

I have uploaded those translated apps on Rapidshare in case you find them useful to troubleshoot or circumvent your issue :

http://rapidshare.com/files/57327311/RegUtils.7z.html

There is a couple of other utils you might find useful to hunt for stuff to delete from the registry :

Registry Space Profiler : http://www.tliquest.net/software/rsp/ and Pluto : http://sourceforge.net/projects/pluto

Link to comment
Share on other sites

Thank you so much for that eidenk, that's really helpful.

:thumbup

I will certainly look at all those references closely.

I downloaded the file from Rapidshare, but what do I open .7Z files with?

I assume it's some sort of compressed archive, but WinZip doesn't want to know it!

It does look at first glance as if the Japanese guy's method of compacting the registry relies on exporting the sections as text files and then merging them back in again.

The Windows Optimisation Wizard in Norton Utilities works pretty much the same way I think, to remove empty space in the registry files, and that is what I've been using to keep my registry size down to a minimum.

You can in fact backup the entire registry as a text file and re-import it, which will do pretty much the same thing I think.

I am still very puzzled as to why this is happening on my system though.

I really can't believe that Windows 98 has a limitation that will prevent it from starting just because the registry has got too big!

There was a key data size limit I believe on Windows 95, which was removed in Windows 98, and I know you can set a maximum registry size on NT based systems, but everything I've read says that there is no limitation on registry size in Windows 98.

As I said before, I can only assume that it is a problem with the registry not loading properly into memory on start-up.

Does anyone know exactly where in memory the registry loads?

Is it always loaded into a specific address range?

If so, it is possible that on my system the amount of memory available for the registry isn't as big as it should be for some reason, maybe because something on the motherboard is taking some of it up. Perhaps the network adaptor resources, which would explain why it will boot if I disable it.

Any more ideas anyone?

Thanks, Dave.

:)

Link to comment
Share on other sites

Thank you so much for that eidenk, that's really helpful.

:thumbup

I will certainly look at all those references closely.

I downloaded the file from Rapidshare, but what do I open .7Z files with?

I assume it's some sort of compressed archive, but WinZip doesn't want to know it!

Unbelieveable that winzip does not support 7z with the price it costs really :whistle: You'll need 7-Zip or another archiver supporting this format, which means almost all those who don't cost any money.

I am still very puzzled as to why this is happening on my system though.

I really can't believe that Windows 98 has a limitation that will prevent it from starting just because the registry has got too big!

There was a key data size limit I believe on Windows 95, which was removed in Windows 98, and I know you can set a maximum registry size on NT based systems, but everything I've read says that there is no limitation on registry size in Windows 98.

If so, it is possible that on my system the amount of memory available for the registry isn't as big as it should be for some reason, maybe because something on the motherboard is taking some of it up. Perhaps the network adaptor resources, which would explain why it will boot if I disable it.

MS says about Win 98 registry :

The limit to total registry size depends on available hard disk space and available memory.

http://www.microsoft.com/technet/archive/w...1.mspx?mfr=true

So it seems you are right about the unlimited size of it. As you said you have ample memory and disk space, what you suggest above should not be a problem.

Any more ideas anyone ?

As the japanese guy is adamant that scanreg can't optimize a registry bigger than 8MB, it might be worth trying to boot with the optimize option of scanreg disabled as the entire process might just been choking on that eventually.

You would just need to edit the scanreg.ini file in your windows dir and set the optimize value to 0, and see how it fares like that.

The network adapter thing seems bizarre though. I cannot make much sense of it. :wacko:

Also, have you thought about uninstalling or disabling something in Norton in case it also touches the registry at startup which I would guess it might be doing ?

Link to comment
Share on other sites

If anyone has the time and no-how, a translated version of that website posted on here for future reference would be highly appreciated by many. :blushing:

Well I have run Google translate on all the pages and did download them ater that. I can archive all that and upload it if you want.

Of course it is not a real translation. I haven't even removed the junk from it but it might save you a bit of time. Let me know if you want them.

Link to comment
Share on other sites

Thanks everyone.

I'd be interested to see the translated pages too please eidenk.

[EDIT] Oh, you've posted tham! :thumbup

BTW, I eventually opened your .7z file with WinRAR.

As you say, it's strange that WinZip won't cope with it, but I have found a few other compreesed archive formats which only open with WinZip and not WinRAR, and vice versa......

In reply to Sfor, I don't think that having 1GB of memory is causing the problem.

There has been much debate on here and elsewhere as to whether Windows 98 can run happily with that amount of RAM fitted, and whether it can actually use it if it is happy!

I think the concensus is that there should be no problem with 1GB of RAM, as long as a few tweaks are done, all of which I have done. I've been running like that for quite a few years now, and everything has been very stable on Windows 98 and runs very well. I don't ever need to have a swap file, it all runs in memory.

What I am intrigued with is the possibility that scanreg is the source of the problem.

If it really can't cope with optimising a registry larger than 8MB, and it's set to check and compact the registry on bootup, it is very possible that it's actually falling over when the registry gets very much bigger than 8MB.

This could well prvent the boot from continuing, although it still doesn't explain why the boot will complete if the network adaptor is disabled!

This does seem to be a bit of a major design flaw in scanreg, as the registry on a system with many large pieces of software installed is inevitably going to end up considerably larger than 8MB in size!

I have disabled start-up optimisation as suggested, and I'll see how it goes.

I can always manually optimise the registry with the Norton Optimisation Wizard, or any of the other programs I've kindly been pointed to.

Thanks again, Dave.

:)

Edited by Dave-H
Link to comment
Share on other sites

What I am intrigued with is the possibility that scanreg is the source of the problem.

If it really can't cope with optimising a registry larger than 8MB, and it's set to check and compact the registry on bootup, it is very possible that it's actually falling over when the registry gets very much bigger than 8MB.

This could well prvent the boot from continuing, although it still doesn't explain why the boot will complete if the network adaptor is disabled!

This does seem to be a bit of a major design flaw in scanreg, as the registry on a system with many large pieces of software installed is inevitably going to end up considerably larger than 8MB in size!

I have didabled start-up optimisation as suggested, and I'll see how it goes.

I can always manually optimise the registry with the Norton Optimisation Wizard, or any of the other programs I've kindly been pointed to.

I thought about it a bit more as you said you had an error message saying that VFAT could not be loaded. That is very early in the boot process and I am not sure whether this takes place before or after scanreg. (If you want to prevent scanreg to run at all you must also disble the backup option btw.)

Also it does appear that VFAT (which is part of vmm32.vxd) is not loaded from the registry :

Some VxDs are required for Windows 95 to run properly. These required VxDs are loaded automatically and do not require a registry entry.

http://support.microsoft.com/kb/174018

And here is a page about being unable to load VFAT that you may want to check albeit nothing seems to apply to your case :

http://support.microsoft.com/default.aspx?...b;EN-US;q139063

Puzzling as the title of the thread says.

Link to comment
Share on other sites

Already checked that page long ago, several times!

Everything stated there as a possible cause of the VFAT loading error has always been correct on my system, but when the error appears I still get that error message BSOD and the system hangs.

:(

I do remember doing a logged boot several times when I first had the error, before I isolated it down to being related to the registry size, and I think the boot actually croaked on loading the ndis driver.

If I did a step by step boot, and skipped that driver, the boot completed successfully.

This is of course the same as disabling the network adapter.................!

:)

Link to comment
Share on other sites

  • 1 month later...
I have an issue with my Windows 98SE system which I'm hoping that one of the many Win98 experts on here may be able to shed some light on. [...]

What appears to be happening is that the boot fails if the registry gets to above a certain size, and it seems to be specifically if the system.dat file gets to above about 12.5MB in size. [...]

So, does anyone have any idea as to why this was happening?

Everything I've read on this subject, and believe me, I've searched a lot, implies that the size of the Windows 98 regisrty is limited only by disk space and memory. I have a huge amount of both.

The symptoms seem to indicate to me that something is happening when the registry files get to a certain size which is preventing them from loading into memory. [...]

If anyone has any clues on this, I would be very grateful to know, because no-one I've asked so far has even ever heard of this happening before!

Thanks, Dave.

:)

Mightn't KB277222 be relevant to this issue? I'm fully aware it refers to Win 2k, but...
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...