Yes, there is a limit that is set on your server.
Can you create a page and add this line of code:
<?php phpinfo(); ?>
And preview the page on your server. This will display information about your server.
Look for this setting:
This should tell you if you exceeded the limit that is set on your server.