Discussion Locked

Can not defrag my computer

0 helpful
27 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a PIII 850MHz computer with 1534MB of memory and 2- 45 gig hard drives and I'm running windows 98SE. Every time I try to run a defrag on my computer it starts then stiops and says to colse some programs because ther isn't enough memory - the only things I have left open after contol-alt-deleting is the systray & explorer. How can I fix this so I can defrag? Thank you.

27 replies

by msteffan

Boot the computer into Safe Mode (Restart the machine and hold down the F8 Key - it will desplay a window - choose safe mode -- if the Win98 Screen appears before you get the menu, you missed it - restart again). When Windows loads, turn off the screen saver as well as any power saving features. Then run the scan. If you are on a Network connection of any kind, unplug the Ethernet cable too just to be sure.

by keira

I tried this and it still tells me I don't have enough memory - to colose some programs, I checked my memory and it shows 1022MB of RAM when I check my sytem properties. I am not on a network.

by msteffan

Boot the computer into Safe Mode (Restart the machine and hold down the F8 Key - it will desplay a window - choose safe mode -- if the Win98 Screen appears before you get the menu, you missed it - restart again). When Windows loads, turn off the screen saver as well as any power saving features. Then run the scan. If you are on a Network connection of any kind, unplug the Ethernet cable too just to be sure.

by nettek

If you used a third-party disk utility to partition the hard drives, and the cluster size is set smaller than the windows default, you will be unable to use the defrag utility that came with windows.

Defrag.exe in Windows will only defrag partitions with the following cluster sizes:
Less than 8Gb = cluster size of 4 kilobytes
8 - 16 Gb = cluster of not less than 8 kilobytes
Greater than 16 GB = cluster size of not less than 16 kilobytes

If the cluster size of your partitions is smallerthan the windows default, you will need to go the the manufacturer of the partioning utility you used in order to get a defrag utility that will work.

by keira

I did not use any third-party disk utility to partition the hard drives.

by mikehoke

I have had the same problem and the only way I could get it to work is to reboot the pc. When it comes up go to the task manager and end every task except the EXPLORER and SYSTRAY programs and then run defrag. I have to do this everytime I want to defrag and it works everytime.

by keira

I have already tried this and made sure my screensaver and everything else of off and it still tells me that I don't have enough memory to defrag.

by marence

Rt-click on My Computer, go to Properties, then check the Performance tab. After closing everything but systray and explorer, you should be running at over 90%. Also, you indicate you have LOTS of memory - does it all show up on the Properties page of My Computer? These 2 things should point at any potential memory issue.
You can always try booting to DOS and running defrag there - not nearly as pretty, but somewhat quicker (45 gig hard drives will take a LONG time to defrag if they're messy).

by keira

It shows 96% after I close everything & I checked my memory and it shows 1022MB of RAM when I check my sytem properties.

by sparky4

Do me a favour. From a DOS prompt, run chkdsk on the hard drive you are trying to defrag. this will tell you to use scandisk instead, but it will also give you a report on the number of bytes in each allocation unit, and how many allocation units there are on the drive. scandisk and defrag have a limit on the number of allocation units they can read. I think it is about 1.6 or 2 million allocation units. the reason there is a problem is that a large drive with a small cluster size will have 8 million, or even more entries on the FAT table. defrag and scandisk cannot read the entire FAT table, so they report an out of memory error. You need to get Partition Magic and use it to set the cluster size to 16k or even 32k. You may not have used it in the first place, but any one of a number of set-up disks, and format utilities, as well as programs like Norton Ghost, could have left your system with the really small cluster size.

by m.cothran

AHAHAH, this is so typical when people install large amounts of memory. But dont worry Im here to Help!
Here's what you do!!!

Click Start, and then click Run.

In the Open box, type msconfig, and then click OK.

Click Advanced.

Check box for EMM Exclude A000-FFFF

Here's some more tips on Advanced Troubleshooting Settings
Disable System ROM Breakpoint:

This setting specifies whether Windows 98 should use Read Only Memory (ROM) address space between F000:0000 and 1 megabyte (MB) for a break point. Windows normally searches this address space to find a special instruction that is used as a system break point. If this address space contains something other than permanently available ROM, you should disable this setting. This sets "SystemROMBreakPoint=0" in the System.ini file. This is equivalent to starting Windows with the command-line switch "/d:s".

Disable Virtual HD IRQ:

This setting prevents Windows 98 from terminating interrupts from the hard disk controller and bypassing the ROM routine that processes these interrupts. Some hard disk drives may require this setting to be enabled for interrupts to be processed correctly. If this setting is enabled, the ROM routine handles the interrupts, which can slow system performance. This sets "VirtualHDIRQ=0" in the System.ini file. This is equivalent to starting Windows with the command-line switch "/d:v".

EMM Exclude A000-FFFF:

This setting prevents Windows from trying to scan for unused memory address space. This also disables the Random Access Memory (RAM) and ROM search instructions for the memory address space. This scanning can interfere with some devices that use the same memory addresses. This sets "EMMExclude=a000-ffff" in the System.ini file. This is equivalent to starting Windows with the command-line switch "/d:x".

by gcg12

First shut everything down except the systray and explorer. Then run scan disk first then proceed to run defrag.

by greggen

One thing you might want to check is your temp folder. If you have excessive .tmp files in your c:\windows\temp folder you will get out of memory errors. Just use explorer or my computer and delete all in that folder, then empty the trash

by abi9999

To run ScanDisk/Defrag successfully:

1.Go to Start > Run and type msconfig in the Open: box
2.On the General tab, uncheck all items listed under Selective startup (make sure that Selective startup is selected)
3.Hit apply and OK and restartWindows
4.This starts Windows with only the basics running; Insures nothing will interfere with ScanDisk and Defrag
5.Run ScanDisk and Defrag, when ready go into msconfig and select Normal startup and restart Windows

Abinash
abi9999@hotmail.com

by fenaikh

Hi

Use the MaxFileCache setting in the System.ini file to reduce the maximum amount of memory that Vcache uses to 512 megabytes (524,288 KB) or less.

512 megabytes (524,288 KB)

1- start->run-> (type) Notepad.exe-file-> Open (type) the System.ini

2-Find the [VCache] section.
2- search -> find -> type VCache.

if not found createit else
changeChange the MinFileCache= and the MaxFileCache= settings to

[VCache]
MinFileCache=500000
MaxFileCache=524288Good luck

Mohamed

by keira

All the suggestions I received were too much work to just run a defrag. I downloaded and ran the program EndItAll & it shut down everything not needed and defrag runs fine now. Some hidden program must have been open.

This discussion is closed to new replies.