| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
I've created a separate PR with a more general fix here: #193 |
Sorry, something went wrong.
|
I've created a fix in #193 -- That avoids hard-coding a specific value; growing it dynamically instead. Can you please try it out? As for the point about pip show performance, I think it's an upstream issue. Here are some rough experimental numbers:
In particular, if you have more packages installed, doesn't matter if the build uses fewer packages, pip show still becomes slower. |
Sorry, something went wrong.
Thank you @varungandhi-src for the quick solution! I did a test with the latest scip-python. 1 hours is too much delay. As the repo could have many commits checked-in during peak hours. It makes sense to use the re-try. Maybe it's because we are running it from a Docker Container which caused the slowness.
What do you mean by this? Do you have any suggestions on how we could fix from our side? |
Sorry, something went wrong.
I mean that pip show -f itself is terribly slow, even when you have a good SSD. So you can't fix this by yourself. I'll look into if we can get rid of the dependency on the pip show command, and use a different way of getting package information.
Hmm, that seems like a bug being triggered downstream during package parsing. We'll take a look. |
Sorry, something went wrong.
|
Thank you @varungandhi-src I was printing the lines from PythonPackage.ts for (let line of output.split('\n')) {
console.log("line:", line);
|
Sorry, something went wrong.
|
@AnqiHuangQiQi can you please try out the v0.6.6 release? That one should avoid the pip show call which seems linked to the problem you're facing. (via #196) If you're still having issues with the 0.6.6 release, can you please reach out through the #ext-...-sourcegraph-support Slack channel with more details about whatever errors are getting logged? |
Sorry, something went wrong.
|
Thanks for the fix. It definitely works much better than previous version. It's no more stuck at the pip show step. But we still got this following error. This is all trace we got. (21:26:33) 4620 / 15671 (21:26:43) 5002 / 15671 (21:26:53) 5617 / 15671 # # Fatal error in , line 0 # Check failed: (result.ptr) != nullptr. # # # #FailureMessage Object: 0x7ffe38c55280 ----- Native stack trace ----- Trace/breakpoint trap (core dumped) |
Sorry, something went wrong.
|
@AnqiHuangQiQi can you please share the full stack trace/error/logs? Based on what you shared, it's not clear if that's a nodejs bug or an OOM or something else. We can discuss this on Slack in your company's private slack message with Sourcegraph if needed, as I wrote in my earlier messages. Having the full error message would be useful for debugging. |
Sorry, something went wrong.
|
I have posted it the slack channel as well. @varungandhi-src |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
#151
For issue detail
We have 615 packages to run,
1 Added { maxBuffer: 1024 * 1024 * 5 } - doesn't help much. Takes too long time.
2 using BATCH_SIZE=512 - still takes too long to run.