Unless you are running older DOS applications, there is no reason to have any lines in config.sys
If your system was running fine before adding the lines, remove them again.
Windows 9X does not need to be told how to use high memory, it is a built in function.
Windows 3.11 and DOS do need himem.sys loaded, as it is the only way they know to access memory beyond the base 640K.
What I would look for is background applications that are using up memory. Look in the system tray, every icon that is in the tray uses some memory.
In addition, there may be a number of "hidden" applications that will only show up if you press "Alt-Ctrl-Delete" and review the programs running in task manager.
If you are running Windows 98, you can use msconfig from the run box to selectively disable startup items.
Another posability is that you are running out of hard drive space, so Windows is not moving items up into virtual memory.
If you have less than 200MB free space on your drive, you just don't have enough space for Windows to operate properly.
Start by cleaning out the Windows\temp folder. (any item that is over a week old can safely be deleted)
And, cleaning up your temporary internet files.
Then, boot into safe mode, and run scandisk and defrag.
How much RAM is installed in your system?
If less than 64MB, you may just not have enough memory for what you are trying to do.
One final note, If you have over 511MB of ram installed, Windows 9X often has troubles withexcess memory, and ignores the first 512MB of ram.
Chas