teamcity-plugins
teamcity-plugins copied to clipboard
Pull request TC10 heap space issues
We've noticed heap space issues with TC10, we had to temporarily disable the plugin as it was constantly maxing out the resources, we use snapshot-20161503143845.
Pull Request settings: VCS Type: Bitbucket Base branch: dev
VCS Settings: Default branch: dev Branch specification: +:refs/heads/*
TC usage before:
TC usage after disabling the plugin:
does anyone have any ideas/workarounds?
Hey @bondarewicz I know what the problem we just faced same) https://github.com/ArcBees/teamcity-plugins/blob/master/pullrequests/src/main/java/com/arcbees/pullrequest/PullRequestChainParser.java#L49 here is a buggy line when you have a pull request from fork to main repo between branches with equal name this loop become infinite and it creates billions records array
Please, do send a PR for a suggested fix.
Thanks!