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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:50:57+00:00 2026-05-20T10:50:57+00:00

In Windows there’re objects maintained by the system – events, file access handles, windows,

  • 0

In Windows there’re objects maintained by the system – events, file access handles, windows, timers, etc, that are not unlimited so that all programs in the system can create something like no more than 50k objects (I’m not sure of the exact figure, but it’s not very critical for this question).

So if some program runs for a very long time and creates lots of objects and doesn’t release them (exactly like a memory leak, but here system objects are leaked) the system finally runs out of objects and other programs that try to do something that requires creating any new system objects start getting error indications from system functions. Like for example, program A runs and leaks all objects available to the system and then program B tries to open a file and fails just because the system has no resources to service that request. The only solution at that point is to restart program A so that leaked resources are reclaimed by the system.

Does the same problem exist on Unix/Linux systems or are they somehow protected against that?

  • 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-20T10:50:57+00:00Added an answer on May 20, 2026 at 10:50 am

    They’re subject to the same problems, but can to some degree be hardened/limited. Often by default, there’s limits per process that’s way below anything that would cause systemwide problems. All you have to do is start a lot of processes though. Some of these limits can be viewed by the ulimit command. Some *nixes have the possibility to set limits on a per user basis (see /etc/security/limits.conf on some linux systems)

    But in cases where you remove the limit, or have a whole lot of processes doing bad stuff, the system wide total limit is usually bound by available resources(memory)

    if you want a demonstration of resource limitation, run this command in a bash shell and see if your system is still usable:

    :(){ :|:& };: 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there Windows API functions that allows reading what the current password policy is?
Is there a Windows command that will output the size in bytes of a
Are there any free Perl IDEs out there for Windows that have debugging capabilities,
On Windows there a few libraries that allow you to intercept calls to DLLs:
For example on windows there is MsgWaitForMultipleObjects that lets you asynchronously wait for windows
Is there a Windows application that I could use to simply paste the HTML
is there any windows api that can send mail using smtp along with attachment
Hello is there any windows API function that would return if drive is writable.
What free profilers are there fore Windows 7 that are compatible with vs2010?
Any recommendations out there for Windows application tuning resources (books web sites etc.)? I

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.