Click to See Complete Forum and Search --> : swap file stuff
nullus
Jul 16th, 2001, 06:12 AM
i just got a new pc at work (originally 1ghz AMD athlon, 128mb ram), but my boss gave me another 256mb ram to put in it. so now it has 384mb, but it seems to be running fairly slow now(especially with VB). could it be that i need to adjust the swap file size cos of the large amount of ram? if so, what do i need to do? :o
thanks
nullus
Jul 16th, 2001, 06:32 AM
hmmmz...well it does seem to be ok now actually, it just seems to take ages to load my project and the object library. so if i type "Dim a As<space>" it freezes up. maybe it's just a prob with VB :mad:
parksie
Jul 16th, 2001, 07:04 AM
Fix your swap file at 100MB and that should help.
Don't disable it though - even if you've got enough physical memory it chokes without a swap file :rolleyes:
nullus
Jul 16th, 2001, 07:09 AM
really? 100mb? i heard that you gotta set your swap file at 2x the size of your ram. :eek: to do that, i'd go to My Computer/Performance/Virtual Memory/Max = 100 right?
parksie
Jul 16th, 2001, 07:12 AM
Set Min and Max to 100. Also, in system.ini (or win.ini), in the [vcache] section:[vcache]
MinFileCache=4096
MaxFileCache=4096That should free up a bit of memory.
2x your RAM size? That can't be right :eek:
nullus
Jul 16th, 2001, 07:26 AM
i tried your suggestion and it didn't seem to make much difference (i think it actualy made it a little slower :p). i also tried setting it to 700mb which didn't do much either. i think it might just be a VB prob though, cos everything else seems to run ok.
thanks for the suggestions though :)
parksie
Jul 16th, 2001, 07:29 AM
Hmm...idea!
Okay...disable virtual memory, restart, defrag the drive you're using for swap, restart, enable virtual memory fixed to whatever size you want, restart again.
nullus
Jul 16th, 2001, 07:44 AM
ok, thanks, i'll give that a go when i have the time to defrag a 30gig HD ;)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.