3

This is a weird one & has taken me quite a while to get to a simple repro!

Steps to reproduce:

  1. Reboot PC and sign in (Windows 10)
  2. Run apps such that your total memory usage exceeds 8GB. For me this is either Visual Studio, chrome, VSCode etc (with Docker and SQLServer running in the background), OR simply running "testlimit -d -c 4096" (using testlimit from sysinternals)

  3. Try to install something from the Windows Store (e.g. Slack). I'm not sure whether the app needs to be a Desktop Bridge app or whether the problem exists for UWP apps too. It doesn't seem to matter whether the app comes directly from Windows Store or whether it's a sideloaded .appx

Expected result:

  1. Application launches and runs

Actual result:

  1. Application fails with the message: "The data area passed to a system call is too small".

My question is: can anyone suggest how I can troubleshoot that error to find the underlying cause? Also, can anyone else reproduce this same issue? I'm interested whether it's something specific to my PC or whether it's a problem with the Windows Store in general.

0

I get this issue with Windows Subsystem for Linux when trying to launch Ubuntu. For me, it's not memory related, I can try to launch Ubuntu as soon as my machine reboots and I log on and still get the error.

I think in my case it actually has to do with having a network home drive and enabling offline files on that drive.

I can install a fresh version of Windows 10, install and configure WSL and Ubuntu, run it for weeks without enabling offline files and it works fine. Once I enable offline files and reboot Ubuntu will no longer launch and gives the "data area too small" error message. Disabling offline files for the home drive and even disabling offline files completely doesn't seem to resolve the issue. So the only workaround I've found is to never enable offline files on my home drive.

0

There is an incompatibility issue with MS SQL Server 2017 (and 2014/2016). If possible uninstall SQL Server. Otherwise these patches can solve the issue:

https://support.microsoft.com/en-us/help/4073393/fix-the-data-area-passed-to-a-system-call-is-too-small-error-when-you

If you use it just for dev purpose, it's possible to run in a Docker container instead, which runs isolated enough to prevent this error. I have very good experience running SQL Server 2017 for Linux, which is stable and fast.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.