|
-
Aug 3rd, 2000, 04:01 PM
#1
Thread Starter
Lively Member
recently my resources have been getting eaten up! this never happened before!! . i have 128MB RAM. what's going on??? how can i stop this or at least monitor what's eating them up??
-
Aug 3rd, 2000, 04:15 PM
#2
Empty the recycling bin and how much stuff do you have running?
-
Aug 3rd, 2000, 04:20 PM
#3
transcendental analytic
I use Resource Meter to monitor my resoruces, they'll often get low when i use Internet Explorer so looking at the gauge in the system tray, you could know when to be careful opening more appz.
Shoud be in windows directory:
C:\WINDOWS\RSRCMTR.EXE
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 3rd, 2000, 04:51 PM
#4
New Member
Things to do:
Empty your temp file. (Reboot before and after you do this, do not delete anything that has today's date)
Empty your Recycle Bin
Empty your temp internet files.
Defrag
Scandisk
-
Aug 3rd, 2000, 04:52 PM
#5
Frenzied Member
There maybe extra programs loaded in memory that are draining your resources. For example both ATI and Diamond load extra program into memory that allow you to access the start menu or video functions anywhere. Unless you need these types of programs you can remove them and free up memory.
You can do this by rebooting, then do ctrl+alt+delete and see what you have running. The only two programs that need to be running are explorer and systray. Most everything else is not needed. You will find most of these programs loading in the start menu and/or in the registry (HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\(all the run entries) Just delete the ones that you dont need. I would write down the shortcuts and backup the registry before anything. This should help you free up some memory.
Also large wallpapers and lots of icons on the desktop can kill system resources also.
One final thing, I have notice that any program I make in VB that does alot of memory intense things will drain some resources each time I run it. I now have the resource meter running all the time so I will know when it is time to exit VB and when to restart my machine.
-
Aug 3rd, 2000, 05:11 PM
#6
transcendental analytic
If you have problems with VB eating your resources there are probably some basic problems;
You don't unload your objects correctly, no freeing all memory.
Your apps have too many controls in runtime.
You have too many designtime classes involved.
Another think i think is that recyclebin has nothing to do with it, or other harddisk related stuff. Also system resources isn't directly proportional to physical memory
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 3rd, 2000, 05:33 PM
#7
You could also go to Start > Program > Accessories > System Tools > Clean Disk. That'll delete a whole bunch of useless sh**. And as manual suggested, Defrag your computer as well.
-
Aug 3rd, 2000, 05:42 PM
#8
_______
<?>
while we're on the topic of defrag..I have a 20G drive and I once defraged it overnight and it seemed to finish. Last month I left it for 2 days and it never got by 10%.
Is there something that stops defrag from doing it's stuff?
ie..I don't use screensavers..just the windows black out on low res if not in use for a certain period of time...
I was thinking I have to format my drive but I really don't want to do that...it's far too time consuming to get everything back.
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Aug 3rd, 2000, 05:59 PM
#9
Frenzied Member
Originally posted by kedaman
If you have problems with VB eating your resources there are probably some basic problems;
You don't unload your objects correctly, no freeing all memory.
Your apps have too many controls in runtime.
You have too many designtime classes involved.
Another think i think is that recyclebin has nothing to do with it, or other harddisk related stuff. Also system resources isn't directly proportional to physical memory
I manually unload everything from objects to forms and I still get memory leaks even though they are small. With one program, after about 25 runs of my program my resources are about gone. If I exit VB and go back I wll get back about 95% of the resources I lost. So after about 10 VB restart I have to restart my computer. Also if I make a .exe of my program I can run it all day long with very little or no memory leaks. I think VB got a buggy memory allocator.
You need hard drive space to make a swap file but it doesn't need much. Windows needs at least 100mb free on boot to make a correct swap file. Windows will only use a maxim of 250mb for swaping correctly. Anything greater then 250mb and Windows with now use it correctly. At least that was true for 95 & 98. Scan disk and defrag will do very little to help your system resources. If you are lucky it will speed Windows up some.
-
Aug 3rd, 2000, 06:03 PM
#10
Frenzied Member
Re: <?>
Originally posted by HeSaidJoe
while we're on the topic of defrag..I have a 20G drive and I once defraged it overnight and it seemed to finish. Last month I left it for 2 days and it never got by 10%.
Is there something that stops defrag from doing it's stuff?
ie..I don't use screensavers..just the windows black out on low res if not in use for a certain period of time...
I was thinking I have to format my drive but I really don't want to do that...it's far too time consuming to get everything back.
Anything that does a HD scan, read, or write will stop a defrag. Make sure to close all your programs before defraging. Antivirus are the kings at stoping a defrag. I have to kill mine each time I do it.
-
Aug 3rd, 2000, 06:57 PM
#11
transcendental analytic
The larger a program is the harder it is to avoid memory leaks, i think. VB surely is one of them but Internet Explorer is worse
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 3rd, 2000, 09:11 PM
#12
Fanatic Member
Look into your registry and look what kind of programs are starting in there, maybe theres something in there u dont want, or dont need.
U can also look in
win.ini - for useless system files.
autoexec.bat
and all that, if u need more info, give me a shout.
ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet? 
-
Aug 4th, 2000, 08:31 AM
#13
Press Ctrl+Alt+Del and terminate programs that are unnecessary.
-
Aug 4th, 2000, 07:09 PM
#14
Fanatic Member
Some programs are hidden from the alt-ctrl-delete
The best way is to terminate them before they start up, or find a way to close hidden progs.
ok, so... windows takes 1 minute to search for a file on my PC yet google.com takes 1 second to search the entire internet? 
-
Aug 4th, 2000, 07:44 PM
#15
Hyperactive Member
Re: <?>
Originally posted by HeSaidJoe
while we're on the topic of defrag..I have a 20G drive and I once defraged it overnight and it seemed to finish. Last month I left it for 2 days and it never got by 10%.
As Technocrat said, anything that accesses the hard drive
will cause defrag to restart the whole process from scratch.
Make sure you have no programs running when you defrag. Also <Ctrl><ALT><DEL> will bring up the manager, so close all but explorer and systray. Even better, boot to safe mode when defragging.
-
Aug 5th, 2000, 05:57 PM
#16
transcendental analytic
Another good thing is that you uninstall stuff you don't need for the moment, while keeping the installers so you can reinstall anytime you want.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|