Jump to content

Question about _MemGlobalSize


Recommended Posts

Hello. I hope my question won't make you feel bored.

I run a application five times and all of them worked together. First, they worked well. However, ten minutes later some of them took a lot of memories and made my computer run slowly. (I checked Processes Tab of Windows Task Manager and saw the column Mem Usage).

Now I want to make a scipt to check how much memory that each window of my application is using and if they are more than xxx(K) they will be close, loop forever until I close all windows.

My idea is use ProcessList, _MemGlobalSize and For...to...next...step functions. However, I get sizes of the specified memory objects always = 0 so none of them will be close. Any suggestions for me?

Link to comment
Share on other sites

Manadar, thank so much. My problem is solved. I'm completely new with computer programming and not good at English. That's why many times I read a document but don't understand it clearly ;) sometimes, understand in wrong way B)

Nice you meet you Manadar. Have a nice day :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...