Skip to content
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

GoFSH Hangs on Instance Conversion #115

Closed
markkramerus opened this issue May 26, 2021 · 5 comments
Closed

GoFSH Hangs on Instance Conversion #115

markkramerus opened this issue May 26, 2021 · 5 comments

Comments

@markkramerus
Copy link

markkramerus commented May 26, 2021

I was trying to convert the UTG IG to FSH, but GoFSH hangs when it reaches "Processing Instances..." phase.

The repo to check out is HL7/UTG@208a5ab

The command used to launch the process is: gofsh -t json-and-xml -s single-file

PS - After waiting 15 minutes or so, it looks like the process is still alive, but moving extremely slowly. So call it no quite dead, but nearly dead.

@cmoesel
Copy link
Member

cmoesel commented May 26, 2021

Thanks for reporting. Oddly enough, someone else just reported a similar issue on chat.fhir.org yesterday: https://chat.fhir.org/#narrow/stream/179166-implementers/topic/GoFSH.20gets.20stuck

@markkramerus
Copy link
Author

Some instances just appear to take a LONG time. It was stuck for about 20 minutes in the middle of instance conversion, did about 20 more, and now it is stuck again. It isn't dead, just really slow. Need to throw it into a debugger.

@markkramerus
Copy link
Author

New information -- there are some huge instances of BUNDLE in the IG. Hundreds of resources in the bundles. I think the "hang" is really the time to create the honkin' huge bundles.
Does every IG have bundles like this?

@markkramerus
Copy link
Author

Here's a zip file of the gofsh directory resulting from conversion of UTC IG.
gofsh.zip

@markkramerus
Copy link
Author

Closing... Decided this is not a bug, just a consequence of very large instances in this IG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants