-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
long js file freezes pluma. #671
Comments
A too-long file of seemingly ANY type will freeze Pluma as it tries to load all of it into RAM, this has been around w while. Note that this has been fixed in Gedit, in fact this (as well as Gedit having an "edit anyway" force open option when invalid characters are detected) are why I keep Gedit installed, for file Pluma chokes on. This means there should be commits to gedit for both of these that could be backported to Pluma, and would fix some real usablity issues |
odd when I check the system monitor while trying to open the file - I still have 6GB of RAM free, only one CPU core is maxed out. |
I don't think its a matter of running out of RAM but rather a matter of mishandling loading large files |
The same thing happened to me with a .json file, and I assumed it was due to the file being too large, until I opened a .SQL of the same size with pluma and it didn't freeze. |
Expected behaviour
the file is displayed by pluma
Actual behaviour
pluma freezes
Steps to reproduce the behaviour
try to open rules.js (changed file-ending to txt to upload it here, error also occurs with file-ending txt)
rules.txt
MATE general version
MATE 1.26.0
Package version
1.26.0-1ubuntu1
Linux Distribution
Ubuntu Mate
Version 22.04.1 LTS (Jammy Jellyfish) 64-bit
Link to bugreport of your Distribution (requirement)
https://bugs.launchpad.net/ubuntu-mate/+bug/2002627
The text was updated successfully, but these errors were encountered: