Results 1 to 8 of 8

Thread: swap file stuff

  1. #1
    nullus
    Guest

    Unhappy 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?

    thanks

  2. #2
    nullus
    Guest
    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

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4
    nullus
    Guest
    really? 100mb? i heard that you gotta set your swap file at 2x the size of your ram. to do that, i'd go to My Computer/Performance/Virtual Memory/Max = 100 right?

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6
    nullus
    Guest
    i tried your suggestion and it didn't seem to make much difference (i think it actualy made it a little slower ). 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

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  8. #8
    nullus
    Guest
    ok, thanks, i'll give that a go when i have the time to defrag a 30gig HD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width