Skip to content

Conversation

@brynary
Copy link
Contributor

@brynary brynary commented Oct 27, 2015

If a user sets debug: true in .codeclimate.yml, print each file to stderr before analyzing it.

A customer is experiencing OOM kills, and we are investigating. Reducing
the batch size may reduce memory usage, but at a minimum allows us to
introduce a debug mode (coming in future commit) where we print the
filename we are analyzing before we analyze.
Allows us to identify if there are files which cause performance
problems or memory growth.
@brynary
Copy link
Contributor Author

brynary commented Oct 27, 2015

/c @jpignata @gordondiggs

@gdiggs
Copy link
Contributor

gdiggs commented Oct 27, 2015

LGTM

@jpignata
Copy link
Contributor

👍

gdiggs added a commit that referenced this pull request Oct 27, 2015
@gdiggs gdiggs merged commit d42102f into master Oct 27, 2015
@gdiggs gdiggs deleted the bh/debug-mode branch October 27, 2015 23:21
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

Successfully merging this pull request may close these issues.

4 participants