summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/.classpath
diff options
context:
space:
mode:
authorDave Borowitz <dborowitz@google.com>2011-11-10 12:53:50 -0800
committerDave Borowitz <dborowitz@google.com>2011-11-14 10:27:45 -0800
commitf26b79d04453b64ab9eead7130b099c7c90fd9ab (patch)
tree09b8c1f6ccb638f9fc66f5b39890807ed906b413 /org.eclipse.jgit.pgm/.classpath
parent16b8ebf2d1d099ac355767b1b1853ae7bf8854f1 (diff)
downloadjgit-f26b79d04453b64ab9eead7130b099c7c90fd9ab.tar.gz
jgit-f26b79d04453b64ab9eead7130b099c7c90fd9ab.zip
Estimate the amount of memory used by a PackWriter
Memory usage is dominated by three terms: - The maximum memory allocated to each delta window. - The maximum size of a single file held in memory during delta search. - ObjectToPack instances owned by the writer. For the first two terms, rather than doing complex instrumentation of the DeltaWindows, we just overestimate based on the config parameters (though we may underestimate if the maximum size is not set). For the ObjectToPack instances, we do some rough byte accounting of the underlying Java object representation. Change-Id: I23fe3cf9d260a91f1aeb6ea22d75af8ddb9b1939
Diffstat (limited to 'org.eclipse.jgit.pgm/.classpath')
0 files changed, 0 insertions, 0 deletions