when I declared a bigger one:
TH3D *tcube=new TH3D(hName,hTitle,4096,1,4096,4096,1,4096,4096,1,4096);
and tried to fill it , it will crash and report an error:
*** Break *** segmentation violation
Generating stack trace…
0x00000000004023fe in main + 0xeae from ./tdtimecube
0x0000003016d1c4bb in __libc_start_main + 0xdb from /lib64/tls/libc.so.6
0x000000000040144a in __gxx_personality_v0 + 0x3a from ./tdtimecube
But if I declare a smaller one and try to fill it:
TH3D *tcube=new TH3D(hName,hTitle,100,1,4096,100,1,4096,100,1,4096);
my program runs well.
So is there any limit to declare a TH3D??