-
swap file stuff
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
-
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:
-
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:
-
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?
-
Set Min and Max to 100. Also, in system.ini (or win.ini), in the [vcache] section:
Code:
[vcache]
MinFileCache=4096
MaxFileCache=4096
That should free up a bit of memory.
2x your RAM size? That can't be right :eek:
-
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 :)
-
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.
-
ok, thanks, i'll give that a go when i have the time to defrag a 30gig HD ;)