I am trying to enable the cache (using SetCacheSize) in my TSelector class.
Since I am using PROOF datasets and therefore something like
TProof* p = TProof::Open("workers=3"); .... p->Process( "mydataset" , "D3PDSelector.C+");
in my macro, I cannot enable the cache in the macro, but need to do it in the TSelector class.
I have tried many things (mostly based on enabling the cache in the Init method), but I always end up in segmentation faults if I run in PROOF (Lite, root version 5.26).
The segmentation faults usually happen at the end of a file. Surprisingly, not after the first file, but always after the second.
Does anyone have an idea how I can fix this, or maybe provide a working example?
Thanks in advance for any help/code