Title: Very Slow Python Initialize · Issue #703 · pythonnet/pythonnet · GitHub
Open Graph Title: Very Slow Python Initialize · Issue #703 · pythonnet/pythonnet
X Title: Very Slow Python Initialize · Issue #703 · pythonnet/pythonnet
Description: Environment Pythonnet version: 2.3.0 Python version: Python 3.5 (conda environment) Operating System: Windows 10 64bit VS 2017 Details Hi guys, thanks for the great work building a super useful library. One question, and this could be ex...
Open Graph Description: Environment Pythonnet version: 2.3.0 Python version: Python 3.5 (conda environment) Operating System: Windows 10 64bit VS 2017 Details Hi guys, thanks for the great work building a super useful lib...
X Description: Environment Pythonnet version: 2.3.0 Python version: Python 3.5 (conda environment) Operating System: Windows 10 64bit VS 2017 Details Hi guys, thanks for the great work building a super useful lib...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/703
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Very Slow Python Initialize","articleBody":"### Environment\r\n\r\nPythonnet version: 2.3.0\r\nPython version: Python 3.5 (conda environment)\r\nOperating System: Windows 10 64bit\r\nVS 2017\r\n\r\n### Details\r\n\r\nHi guys, thanks for the great work building a super useful library. One question, and this could be expected behavior, I'm not sure. When I initialize the python interpreter on the .Net side, with this call:\r\n\r\n`using (Py.GIL())\r\n{`\r\n\r\nI've timed it and it takes about 2 mins to complete the call. Further calls to grab python lock return immediately. I've also noticed that in visual studio my output window I see thousands of messages of this form:\r\n\r\n\u003e Exception thrown at 0x00007FFE37F73C58 in RSUser.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000314CBFB8F0.\r\n\u003e Exception thrown at 0x00007FFE37F73C58 in RSUser.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.\r\n\u003e Exception thrown at 0x00007FFE37F73C58 in RSUser.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000314CBFB8F0.\r\n\u003e Exception thrown: 'System.IO.FileNotFoundException' in mscorlib.dll\r\n\u003e Exception thrown at 0x00007FFE37F73C58 in RSUser.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x000000314CBFB8F0.\r\n\u003e Exception thrown at 0x00007FFE37F73C58 in RSUser.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.\r\n","author":{"url":"https://github.com/williamrubens","@type":"Person","name":"williamrubens"},"datePublished":"2018-07-12T19:53:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/703/pythonnet/issues/703"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:099df2d3-4d96-e9b6-0403-4626ca61aad3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A540:1E174F:271372:360FC2:6972100A |
| html-safe-nonce | 4786b58bb970ab6ada734edb991df7a896cf3e3eb425d2cab8393acf16476a6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTQwOjFFMTc0RjoyNzEzNzI6MzYwRkMyOjY5NzIxMDBBIiwidmlzaXRvcl9pZCI6IjE4ODk0MDg0ODY4NTI1NjcxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bb8c007aaf4e5b1542b48f80c8b50825a194d5557c91cfed12ee0ebfd6c3312c |
| hovercard-subject-tag | issue:340775646 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/703/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec9b1fca678930e854952d20d84ebbb8c95b07244faff24c4f26bf149e91d953/pythonnet/pythonnet/issues/703 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec9b1fca678930e854952d20d84ebbb8c95b07244faff24c4f26bf149e91d953/pythonnet/pythonnet/issues/703 |
| og:image:alt | Environment Pythonnet version: 2.3.0 Python version: Python 3.5 (conda environment) Operating System: Windows 10 64bit VS 2017 Details Hi guys, thanks for the great work building a super useful lib... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | williamrubens |
| hostname | github.com |
| expected-hostname | github.com |
| None | 453de246939b1e04d711e109432e2df10933270413df93b7a8f8f1df8dda7f18 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 12756e5bdb9000be815bbf20a1acc7935638e596 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width