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

Add limit for program size #7476

Closed
wants to merge 1 commit into from

Conversation

zhengbli
Copy link
Contributor

Intend to fix #7444
This is a first attempt to add a upper limit for program size. For experimental purpose, the upper limit was set to 32 Mb, which might be changed to a better value after further tests. The way diagnostics are generated is still in discussion.

Per our discussion in #7444, the next step is to add a compiler switch (something like disableSizeLimit) to disable this check for a project. Though I will do that after the current size-checking logic was reviewed.

@zhengbli
Copy link
Contributor Author

Further testing found the issue still exists. Closing now and reopen after that is fixed.

@zhengbli zhengbli closed this Mar 11, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tsserver crashes with large projects
2 participants