Fill it much less than you think, always follow the recipe. Frangipane fluffs up and expands while baking which is why it's best not to overfill your pies and tarts. This will save you the hassle of cleaning up an overflowing tart or pie.