3D histos

Is there a built in limit to the size of 3D histograms?
My code segfaults if I increase the number of bins by a factor of 2^3.
It does not help to switch from TH3D (which is somewhat of an overkill) to TH3F. I do realize there are system limits… but I am wondering …


Could you send a short example reproducing your problem?