GithubHelp home page GithubHelp logo

Getting "System ran out of resources. Consider disabling bitmap caching." after >~3 concurrent sessions open about iap-desktop HOT 4 CLOSED

graham-m-dunn avatar graham-m-dunn commented on June 15, 2024
Getting "System ran out of resources. Consider disabling bitmap caching." after >~3 concurrent sessions open

from iap-desktop.

Comments (4)

jpassing avatar jpassing commented on June 15, 2024

Bitmap caching can be controlled in the connection settings:

image

It's disabled by default. Could you verify if that's the case for your VMs/project too?

Approximately which screen resolution are your RDP sessions using? I've seen this error happen with bitmap caching disabled, but not with less that 10 parallel sessions or so.

from iap-desktop.

graham-m-dunn avatar graham-m-dunn commented on June 15, 2024

bitmap caching is disabled in the project

I'm connecting to a remote Windows 10 instance over CRD, the display on that instance is

PS C:> [System.Windows.Forms.Screen]::AllScreens

BitsPerPixel : 32
Bounds : {X=0,Y=0,Width=3840,Height=2160}
DeviceName : \.\DISPLAY1
Primary : True
WorkingArea : {X=0,Y=0,Width=3840,Height=2130}

IAP desktop gets the left half of that display, so the desktops are 1920x2130.

from iap-desktop.

jpassing avatar jpassing commented on June 15, 2024

The RDP control (mstcax) consumes a pretty significant amount of virtual memory for each session, and the most likely reason for this error is that the iapdesktop.exe process ran out of virtual memory space. IAP Desktop is a 32-bit process, so it only has 2 GB of VM space to work with. In my tests, I hit that limit and git the 3334-error after opening 11 RDP sessions:

image

But I'm using a lower screen resolution (2560x1440) than you. That, plus memory fragmentation (if you had the process running for a while) might explain why you run into the issue much earlier.

I don't think there's a solution other than moving to 64 bit.

The only reason IAP Desktop is still 32-bit is that there are still some users running 32-bit versions of Windows 10 and I've been trying to avoid having to maintain a 32-bit and 64-bit version in parallel. But the share of 32-bit Windows versions is now pretty miniscule, so I guess we could make the 64-bit transition soon. The IAP Desktop build process already supports x64.

from iap-desktop.

jpassing avatar jpassing commented on June 15, 2024

Release 2.40 is now also available in 64-bit. I assume this should fix the problem -- if not, please re-open the issue.

from iap-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.