https://github.com/root-project/root
Revision 69959f285164e49c2ac3013b3d4364e0b0b88c8c authored by Philippe Canal on 06 July 2012, 23:54:52 UTC, committed by Philippe Canal on 06 July 2012, 23:54:52 UTC
In case where the TTree has a dramatic dynamic range with a lots of very small entries at the beginning and very large entries at the end, the size in bytes of the cluster for the later entries will be very large (because of the cluster size in entries is large!). TTreeCache::FillBuffer was always attempting to load complete clusters not matter the size (even with the size was larger than 2GB!). This patch resolves the issue by limiting the amount of memory used to four time the requested size and might result in higher innefficiency (i.e. re-reads) in some cases when this condition is triggered. In TTree::Streamer properly estimate the necessary cache size (this cache size is used by TTree::Draw). git-svn-id: http://root.cern.ch/svn/root/branches/v5-27-06-patches@44953 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 372fb2f
Tip revision: 69959f285164e49c2ac3013b3d4364e0b0b88c8c authored by Philippe Canal on 06 July 2012, 23:54:52 UTC
Backport a limited version of revision 43947 from the trunk.
Backport a limited version of revision 43947 from the trunk.
Tip revision: 69959f2
File | Mode | Size |
---|---|---|
README | ||
bindings | ||
build | ||
cint | ||
config | ||
core | ||
doc | ||
etc | ||
fonts | ||
geom | ||
graf2d | ||
graf3d | ||
gui | ||
hist | ||
html | ||
icons | ||
io | ||
macros | ||
main | ||
man | ||
math | ||
misc | ||
montecarlo | ||
net | ||
proof | ||
roofit | ||
rootx | ||
sql | ||
test | ||
tmva | ||
tree | ||
tutorials | ||
LICENSE | -rw-r--r-- | 25.8 KB |
Makefile | -rw-r--r-- | 43.4 KB |
configure | -rwxr-xr-x | 224.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...