Empty header/frontmatter (maximum file size exceeded?), move header content to raw_content

I have a file that has a large amount of data in the header. The file size is 1 052 717 bytes, If I try to save the file, the header is deleted and moved to the content.

However, just delete a single letter from the header and everything will start working as it should.

The data file is available here: faq-global.sk.md
Is there a limit to the maximum header size?

@danielkoptak, Before spending time on the issue, would you mind sharing what you are trying to achieve?

I have the source data for the faq in the header. FAQ Everything works fine until a certain number of characters are exceeded.

I’d go with Flex Objects for FAQ