Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How much virtual memory ?

Status
Not open for further replies.

BuilderSpec

Programmer
Dec 24, 2003
383
GB
You know the old windows message that says "Out of virtual memory"..

Is there a way in Borland Builder , an API call even that will tell me how much virtual memory is left ?

I need this to be able to prove if an application has a memory leak .

Regards

BuilderSpec
 
I'm guessing here but you might want to look at the following APIs: GetSystemInfo, SYSTEM_INFO, VirtualQuery, and VirtualQueryEx.

James P. Cottingham
-----------------------------------------
To determine how long it will take to write and debug a program, take your best estimate, multiply that by two, add one, and convert to the next higher units.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top