Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onDidChangeActiveTextEditor doesn't fire on large documents #65509

Closed
GabeDeBacker opened this issue Dec 20, 2018 · 1 comment
Closed

onDidChangeActiveTextEditor doesn't fire on large documents #65509

GabeDeBacker opened this issue Dec 20, 2018 · 1 comment
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@GabeDeBacker
Copy link
Contributor

  • VSCode Version: 1.30.0 (64-Bit)
  • OS Version: Windows 10 64-Bit Build 17763

Steps to Reproduce:

  1. Have an extension that registers for vscode.window.onDidChangeActiveTextEditor
  2. Open a very large file (such as a 2GB log file)
    (Here is the size of the one I'm using)
    Directory of S:\dumps\logs
    12/18/2018 09:19 PM 1,975,803,272 buildfre.log

The extension does not get called for this file, but it will for larger files.

When using 64-bit VSCode it has no issue displaying this file, but extensions don't appear to be called.

Does this issue occur when all extensions are disabled?: Yes

@alexdima
Copy link
Member

Files >50MB are not currently synchronized to the extension host process for memory usage concerns. Let's track in #31078

@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 21, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants