If you don't get the critical error after recieving ShowBoard packets, then you didn't find the maximal page size. Try to use H5 code and create static pages with 20, 22 and 24k for test.
if (html.length() < 8192)
{
acha.sendPacket(new ShowBoard(html, "101"));
acha.sendPacket(new ShowBoard("", "102"));
acha.sendPacket(new ShowBoard("", "103"));
}
else if (html.length() < 16384)
{
acha.sendPacket(new ShowBoard(html.substring(0, 8192), "101"));
acha.sendPacket(new ShowBoard(html.substring(8192), "102"));
acha.sendPacket(new ShowBoard("", "103"));
}
else if (html.length() < 24576)
{
acha.sendPacket(new ShowBoard(html.substring(0, 8192), "101"));
acha.sendPacket(new ShowBoard(html.substring(8192, 16384), "102"));
acha.sendPacket(new ShowBoard(html.substring(16384), "103"));
}