?
Solved

scandisk & defrag report not enough memory

Posted on 2000-03-16
5
Medium Priority
?
289 Views
Last Modified: 2013-12-28
When i try to run Scandisk or Defrag, i get a "could not continue because there isn't enough available memory" or a "Defrag 009" message, respectively.

(I'm running win98 on a Dell XPST500, 256RAM, 20GB HD, and I MADE SURE TO TURN OFF ALL MY STARTUP UP PROGRAMS SO I HAVE OVER 90% RESOURCES FREE ACCORDING TO MY RESOURCE METER.)

0
Comment
Question by:ruff98
5 Comments
 
LVL 1

Expert Comment

by:LadyKath
ID: 2626639
Ruff, try running scandisk from the dos prompt. Also how much of your HD is available?
0
 

Expert Comment

by:Jerome030900
ID: 2626774
Use control-Alt-Delete and end task for any programs other than Explorer & Systray and then run your scandisk and defrag.
Also check your control panel/system/performance/virtual memory to be sure windows is managing memory for the PC.
0
 

Author Comment

by:ruff98
ID: 2628836
Yes, that was already done, and it did not help.

I have plenty of hard disk space (over 19GB free), I'm only running Explorer and Systray, and Windows is maanaging my memory.  It all looks perfectly fine, but still get an error message for both of these programs.

I AM able to run Scandisk from DOS prompt, so that helps a bit.
0
 

Accepted Solution

by:
StSteven earned 200 total points
ID: 2629768
I thought that Windows 98 did not have this problem... oh well... I know NT and 2000 don't.
 
You have a hard drive > 8 GB and are using a cluster size of something like 8,192 bytes ( I might be off on the cluster size number).  You're using FAT32 right?  FAT32 uses a default cluster size of 4096 if  the drive is < / = 8,192,000,000 bytes (8 GIG).  If it's larger than that, FAT32's default cluster size of 4,096 bytes changes as the drives get bigger.  
 
It's something like:
        up to 8 GIG, cluster size=4096bytes
        8-16? GIG, cluster size=8092bytes
        16-32, cluster size=16384bytes
        32+, cluster size=32769bytes
 
I'm not sure how big you can go with FAT32, thouugh... I'd have to go look it up.
 
So The problem is that I think scandisk in windows has a hard limit for the amount of memory it can allocate to a defrag, and if you have a bigger cluster size, more memory will be required and thus scandisk will whine about it.  It's a pretty poor error, really... it should be smarter than that.
 
I think I'm right about the table above , but might be off by a factor of 2 or something.
 
I'm not sure exactly how to resolve this problem, though, other then just dropping out to DOS to defrag or maybe purchasing a 3rd party tool like Norton....  you should check w/ microsoft to see if they have a patch or upgrade or some **** like that.
 
Oh, also, you could have corruption on your drive, especially in the FAT32 table.... I'd suspect you'd be having more problems than this though.
 
And it could be a virus.... a particularly nasty one though.  You're probbably running a virus shield, though, which would have (hopefully) picked this up assuming you keep your DAT files updated.
0
 

Author Comment

by:ruff98
ID: 2629816
yep...i used a 3rd party software to format my harddrive, and it gave it the wrong cluster size or something....so i'm supposed to reformat correctly...what a pain!

 I'll live w/o defrag for a while.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
This article provides a step by step guide (with screenshots) showing how to create a new local (test) Administrator user profile in Windows 10 for troubleshooting purposes, and then how to remove it.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses

594 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question