Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 556801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:57:30+00:00 2026-05-13T11:57:30+00:00

Is there a .NET API for getting detailed info on VM use? I’m specifically

  • 0

Is there a .NET API for getting detailed info on VM use? I’m specifically interested in determining how fragmented my address space is.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T11:57:31+00:00Added an answer on May 13, 2026 at 11:57 am

    The kind of Windows API functions that can give you some insight in this are VirtualQueryEx() to enumerate the virtual memory sections and discover unused space, GetProcessHeaps() to find what heaps are created inside the process and HeapWalk() to discover how blocks in each heap are used.

    This is not going to be easy, particularly HeapWalk() is a troublesome function in a running program. You ought to take a look at the SysInternals’ VMMap utility, it provides excellent virtual memory diagnostics.

    The downfall with this is that it doesn’t really help you solve a memory fragmentation problem. There is nothing you can do to affect the way the Windows memory manager sub-allocates the virtual memory space. Short from not allocating memory. If you are struggling now with OOM, you really ought to consider re-architecting your app. Or switching to a 64-bit operating system, the two hundred dollar solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a .NET API for OpenOffice? EDIT: Is there a OpenOffice SDK for
Is there a .NET API available to get data from your XBox Live account?
I was curious if there's a .Net API that would allow me to identify
Is there a WebSphere MQ .NET API I can download ? I am basically
Is there a way in the .NET API to iterate on the managed objects
Is there an API call in .NET or a native DLL that I can
Is there an API to get the current ASP.NET Trust Level?
Is there any API SQL Server 2008 offers for .net application to create and
does anyone know if there is a Twitter API library for the .Net Compact
Is there a managed API for kernel32.searchpath? i.e not using a pinvoke. http://www.pinvoke.net/default.aspx/kernel32.searchpath

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.