Results 1 to 2 of 2

Thread: Reseting a software based on windows RAM consumption

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Reseting a software based on windows RAM consumption

    Hello!

    Currently I'm developing a software that should be able to be reseted when Windows RAM memory is to high. Regarding this project, I would like to ask:

    * Is it possible to command the reseting (not only closing! The software needs to be restarted) from within the software? Or I truly need to create a second software that is called when the reseting is needed and that controls the event?
    **In case of needing to create a second software, how can I read Windows's process to check if/when my software is started so the second one, that to the restart, can be automatically closed?
    * How can I know how much RAM memory is being used by Windows using Qt/C++?


    I guess that's all that is needed.

    Thanks,


    Momergil

  2. #2
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Reseting a software based on windows RAM consumption

    Does anybody has something to say about it?

    :S


    Added after 1 20 minutes:


    Anycase, I found the answer:

    http://stackoverflow.com/questions/6...side-a-process

    God bless,

    Momergil
    Last edited by Momergil; 29th May 2012 at 19:29.

Similar Threads

  1. Replies: 0
    Last Post: 23rd January 2012, 19:02
  2. Qt-based app crash display driver on Windows 7
    By grayfox in forum Qt Programming
    Replies: 2
    Last Post: 5th June 2011, 17:34
  3. reseting reader
    By uchennaanyanwu in forum Newbie
    Replies: 1
    Last Post: 1st August 2008, 20:28
  4. Replies: 3
    Last Post: 4th January 2007, 01:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.