Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Atom out of memory crash when copying lines #16582

Closed
1 task done
Ben3eeE opened this issue Jan 17, 2018 · 3 comments
Closed
1 task done

Atom out of memory crash when copying lines #16582

Ben3eeE opened this issue Jan 17, 2018 · 3 comments

Comments

@Ben3eeE
Copy link
Contributor

Ben3eeE commented Jan 17, 2018

Prerequisites

Description

tree-sitter-memory

Steps to Reproduce

  1. Enable Use Tree Sitter Parsers setting
  2. Open a JavaScript file with the following contents:
    /**

    function a(b) {
        var c = 15 + b;
        return c;
    }
  1. Copy and paste these lines a couple of times

Expected behavior: Lines to copy without Atom crashing

Actual behavior: Atom crashes because out of memory

Reproduces how often: 100% when reaching ~4000 lines

Versions

Atom: 1.25.0-dev-3d8902d x64
Electron: 1.7.10
OS: Microsoft Windows 7 Professional

Additional Information

/cc: @maxbrunsfeld

@Ben3eeE Ben3eeE changed the title Atom out of memory when copying lines tree-sitter Atom out of memory crash when copying lines Jan 17, 2018
@maxbrunsfeld maxbrunsfeld self-assigned this Jan 17, 2018
@Ben3eeE Ben3eeE changed the title tree-sitter Atom out of memory crash when copying lines Atom out of memory crash when copying lines Jan 19, 2018
@Aerijo
Copy link
Contributor

Aerijo commented Jul 25, 2018

I couldn't get a crash, but it did break the highlighting at ~6000 lines. More relevant though is that deleting everything did not fix the highlighting. The input was also quite laggy.

break

@maxbrunsfeld
Copy link
Contributor

Ok, @Ben3eeE let me know that the no longer happens on master. Thanks!

@lock
Copy link

lock bot commented Feb 6, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants