the app is using profiling timers to measure the time taken in different steps when creating a commit, which is awesome. Unfortunately, one of the timers includes the full file contents in the timer name. There are 2 problems with this:
the timer name is held in-memory, which means that committing a 1 Mb file now consumes at least 2 Mb of memory.
the complete file contents ends up in the profiling log when profiling logging is enabled. The file may contain sensitive information and should never be written to a log since logs may end up being shared with Atlassian Support.