Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. flushing page file

flushing page file

Scheduled Pinned Locked Moved C / C++ / MFC
performancequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vasu_sri
    wrote on last edited by
    #1

    I am working on a project where i have to generate a lot of image files. While i am doing this, the size of the page file increases such that i run out of memory. I am thinking of flushing page file at certain intervals but not sure if its the right idea. I am not even sure if it is possible to do it programatically. Is there anyway to programatically flush the page file??

    Regards, Srinivas

    S 1 Reply Last reply
    0
    • V vasu_sri

      I am working on a project where i have to generate a lot of image files. While i am doing this, the size of the page file increases such that i run out of memory. I am thinking of flushing page file at certain intervals but not sure if its the right idea. I am not even sure if it is possible to do it programatically. Is there anyway to programatically flush the page file??

      Regards, Srinivas

      S Offline
      S Offline
      SandipG
      wrote on last edited by
      #2

      I dont think its good idea i dont even think it would be posible. page file will be automaticly flushed when you will delete your in memory images. if you still have images in memory loaded and flush page file you will be in trouble bro because when you will access image it would try to load from pagefile and there you wont find anything.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups