PreviousNextTracker indexSee it online !

(192/212) 494 - Add option to cancel opening large files

Steps to reproduce:

1) open a very large file or a file with very long lines (eg. 100MB of JSON, single line).
2) there is the dialog about large file handling. jEdit becomes unresponsive. Stop it.
3) Relaunch jEdit.
4) The file will be reopened and will blow jEdit again.

Now I can get rid of it by manually editing parts of perspective.xml

It would make sense to have a "don't open" choice in the dialog.

The buffer status could be "not-loaded", like when the file is not found.

Submitted kerik-sf - 2015-01-03 13:11:12.846000 Assigned
Priority 5 Labels
Status open Group none
Resolution None

Comments

2015-03-15 19:53:54.470000
srogljan

Hello,
just to be sure that I did the reproduction right:

When you open large file (in my case 137MB JSON file) , there's a dialog, that informs you about insufficient size of java heap.

This file is being opened each time the jEdit starts, but jEdit keeps still operative.
Could you please specify the version of the software? (I tried to reproduce this on 5.2 version and everything worked well)

Actually I'm not sure how this feature would look like. Do you suggest to disable further loading of large files by adding that "don't open" choice button to that warning dialog?