Are there file size constraints for the GPX files to be imported?

There currently aren’t any hard file size constraints imposed on the imported GPX files, the restriction is the amount of free RAM on your iPhone.

But, before importing file sizes greater than 2 MB, we strongly recommend that you reboot your iPhone to free up as much RAM as possible.