+ Reply to Thread
Results 1 to 2 of 2

Thread: How can I free the unused memory of a application using C++?

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    20

    How can I free the unused memory of a application using C++?

    I am developing a program which needs to lower the memory usage of running applications.

    How can I free the unused memory of a specified application using C++?

    It should free the memory occupied by the application.

  2. #2
    Junior Member
    Join Date
    Feb 2012
    Posts
    48
    If you are having handle of the process then you can consider using "EmptyWorkingSet" API.

    Give it a try, it should free the pages of the application.

    Please note that it may degrade application performance but I am not sure.

+ Reply to Thread

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