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

Output not being flushed #25

Open
mihai-sysbio opened this issue Oct 21, 2019 · 0 comments
Open

Output not being flushed #25

mihai-sysbio opened this issue Oct 21, 2019 · 0 comments

Comments

@mihai-sysbio
Copy link

I'm trying to use mediKanren with the entire SemMedDB. I obtained the source db and created a .csv following the same format as indicated in code/sample_semmed.csv, at about 10GB. Everything seems to run fine but it's not creating any output. It seems that everything is kept in RAM until the end - which means the machine ran out of RAM and swap well before that. There doesn't seem to be anything wrong with printing to file on my system (macOS + Racket v7.3), only with flushing at these lines:

(flush-output out-predicate)
(flush-output out-semtype))

I noticed the todo in README.md dated Nov 27, 2017:
TODO: add SemMedDB files, along with terms of use information for SemMedDB.

What is the recommended solution for this problem?

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

1 participant