dropbox / dropbox/pyannotate

Crash when the target json file is too large

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
60
PR merge metrics
No merged PRs in 30d

Description

My code is here:
```python
# 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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.