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 6558667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:13:40+00:00 2026-05-25T13:13:40+00:00

One of my .NET process that interops with native dlls is throwing an OutOfMemory

  • 0

One of my .NET process that interops with native dlls is throwing an OutOfMemory Exception. Following is out put of !vmstat command

> TYPE                      MINIMUM                      MAXIMUM                      AVERAGE  BLK COUNT                        TOTAL  
~~~~                      ~~~~~~~                      ~~~~~~~                      ~~~~~~~  ~~~~~~~~~                        ~~~~~  
Free:  
Small                          4K                          64K                          57K      4,545                     262,979K  
Medium                        68K                         960K                         425K        240                     102,000K  
Large                      1,084K                       1,084K                       1,084K          4                       4,336K  
Summary                        4K                       1,084K                          77K      4,789                     369,318K  

Reserve:  
Small                          4K                          60K                           6K        515                       3,255K  
Medium                        72K                       1,012K                         982K        863                     848,287K  
Large                      1,864K                      15,756K                       7,801K         11                      85,819K  
Summary                        4K                      15,756K                         674K      1,389                     937,363K  

Commit:  
Small                          4K                          64K                           6K      8,762                      55,669K  
Medium                        68K                       1,024K                         436K        455                     198,651K  
Large                      1,028K                      21,168K                       4,702K        114                     536,079K  
Summary                        4K                      21,168K                          84K      9,331                     790,401K  

**Private:**  
Small                          4K                          64K                           6K      3,267                      22,087K  
Medium                        68K                       1,024K                         945K      1,008                     953,539K  
Large                      1,864K                      19,008K                       6,245K         52                     324,775K  
**Summary                        4K                      19,008K                         300K      4,327                   1,300,402K**  

Mapped:  
Small                          4K                          64K                           4K      4,190                      18,728K  
Medium                        68K                       1,004K                         498K         21                      10,467K  
Large                      1,028K                      11,536K                       4,443K         10                      44,435K  
Summary                        4K                      11,536K                          17K      4,221                      73,632K  

Image:  
Small                          4K                          64K                           9K      1,820                      18,107K  
Medium                        68K                         980K                         286K        289                      82,931K  
Large                      1,032K                      21,168K                       4,010K         63                     252,687K  
Summary                        4K                      21,168K                         162K      2,172                     353,726K  

As you can see that Private summary Total is 1.3GB. What exactly Private mean here? Does it mean native memory or managed memory area? Any links for description will help.

  • 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-25T13:13:40+00:00Added an answer on May 25, 2026 at 1:13 pm

    “Private Bytes” is memory allocated by this process that can’t be shared with other processes. (In a .NET app, this will include both native allocations and the managed heaps.)

    This SO answer gives an excellent description of the different “types” of memory.

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

Sidebar

Related Questions

I have seen a few different in-process SQL databases for .NET (including one from
I have an ASP.NET application. Basically the delivery process is this one : Nant
Using web forms I know that you can only have one ASP.NET form on
I'm working on a solution that has two projects: One ASP.NET web application, and
I'm using ASP.NET, with session state stored out of process in SQL Server. When
is there a way in .NET to clearly see what are the DLLs that
I have a .NET class library that spins up a secondary process which is
I am trying to figure out where to put validation in my N-Tier Asp.net
I have two processes that work with data in the same table. One process
I want to merge one .NET DLL assembly and one C# Class Library project

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.