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

Crash when the target json file is too large #109

Open
Butter934 opened this issue Mar 7, 2021 · 0 comments
Open

Crash when the target json file is too large #109

Butter934 opened this issue Mar 7, 2021 · 0 comments

Comments

@Butter934
Copy link

My code is here:

# driver.py
import numpy as np
from pyannotate_runtime import collect_types


if __name__ == '__main__':
    collect_types.init_types_collection()
    collect_types.start()
    np.core.test()
    collect_types.stop()
    print("test finished")
    collect_types.dump_stats('type_info.json')

and crashed after some time.

Is that because the target json file too large? What tricks can be used to run it correctly?

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