kisstkondoros / gutter-preview

Other
158 stars 37 forks source link

Bug on vscode 1.27.2 x64 - windows 10 x64 - 1809 (the story so far) #24

Closed GrosBourrin closed 6 years ago

GrosBourrin commented 6 years ago

i re-open the conversation because i noticed some odd things :

The odd thing is that if i leave all my tabs opened the extension works only few instants but when i jump in another tab and it finishes to work and i have to restart vscode, i really think it's a problem of memory management (that's my opinion).

finally : is it a problem of memory used by vscode ? what do you suggest about that ? for info i have 8Go of memory installed on my PC window

kisstkondoros commented 6 years ago

I think it has nothing to do with the available memory (it shouldn't). I'll look into it

kisstkondoros commented 6 years ago

Tested it again, on linux, on windows, it works fine for me.

It would be nice to have some more details. Please provide a Minimal, Complete, and Verifiable example. (https://stackoverflow.com/help/mcve)

GrosBourrin commented 6 years ago

some examples oh how it works on my pc ! Vscode 1.28 x64 image preview 1.15.1 windows 10 x64 1809 8 Go ram Nvidia GTX 745 drivers updated

2018-10-09_07h51_33 2018-10-09_07h52_38 2018-10-09_07h58_07

kisstkondoros commented 6 years ago

So, apparently the data uri support was entirely broken, I've fixed that in the latest version (0.15.2).

For the last issue, I have no idea... What happens there exactly? Did I understand it correctly that until you have only one tab open it works fine but if you open another one it breaks? (could it be that it was alos the data url issue?)

GrosBourrin commented 6 years ago

that's right ! :/ loss of uri data, i'll try the new version and tell you if it works

edit: doesn't work more !!!!!!

kisstkondoros commented 6 years ago

Version v0.15.3 was just released please give that a try (This is getting ridiculous sorry for all the troubles).

Since the recognizers are driven mainly by regular expressions (and they are costly) I had to introduce a maximum for the processed line length (20.000 characters at the moment). If not all data uris are working, this might be the reason for it (this is new in v0.15.3)

I hope it'll work fine now.

P.S.: The reason that it only worked on one tab was that the recognizers were still processing the previous tab's content. This was also addressed in v.0.15.3