-
Notifications
You must be signed in to change notification settings - Fork 14
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
Crashes extensions #14
Comments
Blah, I knew this would happen eventually... Do you know what causes the crash? Does the extension just hang and VSCode kills it, out-of-memory, etc? EDIT: Does the status in the lower-right show that the header was parsed successfully? |
Hah. I love the extension! The error I get (After many seconds or minutes) is "Extension host terminated unexpectedly." Dev tools shows: UNRESPONSIVE extension host, 'Silvenga.edi-x12-support' took 84% of 5730.041ms |
I see it says "Valid ISA header" and "Tokenization is skipped for long lines for performance reasons". The length of a long line can be configured via 'editor.maTokenizationLineLength' Thanks! |
Hi, I have the same problem in a valid 42-line EDI file. Since I used prettify for the first line it does not inform me about the clicked element. It keeps "Loading". |
I'm a really bad maintainer. I remember opening VSCode to fix this, then got distracted by life stuff, then completely forgot. What's the size of your EDI file @teamrehab and @rebecaruiz (character count)? And the ISA header might be useful (just looking for the segment separators). I need a better way to debug this... I'm 99% sure this is a regex performance problem, I've been meaning to switch to an actual tokenization strategy, but that's a major rewrite. |
My file weighs 1.481 bytes. It's a pretty light 850 EDI document only for testing purposes.
|
I can't repo your case @rebecaruiz - I think I'll need an order of operations. |
I can repo the 9mb issue, and it's not regex related, I'll need to bug someone with some more experience with profiling JS. |
I appreciate you working in this. This plugin really saves me some time! |
Hi there. Just checking in to see if you had a chance to look at this. Thanks! |
I failed to find anyone that can help me with the JS profiling. 😞 So not sure how to really proceed. I did, however, try to get some performance snapshots, but actually digging into them as proven to be a challenge, since nothing in the extension jumps out as being overly bad. |
Thanks for looking into it. I'd send you an example but that would literally violate HIPAA :-) |
Issue Type: Bug
I have a 9MB EDI file. This is pretty normal for EDI files. In fact, they can get FAR larger. This file has also been verified by insurance companies to be error free.
Using the "prettify" function, it crashes. This extension works fine on smaller files.
My system is a 10th gen i7 with 32GB RAM.
Extension version: 1.1.0
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.18362
Remote OS version: Linux x64 4.4.0-18362-Microsoft
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: