Hi @Deazer
Question
I'm currently experiencing a memory issue with the Community Forum system. After browsing several BBS pages, the client crashes with the following error:
Out of memory.
FMallocWindows::Malloc <- NCHtmlTable::CreateFrame <- ...
After some investigation, it appears this is a known issue with Interlude clients, caused by the client not freeing previous HTML data when loading new pages using ShowBoard.
A common workaround I've found with L2jMobius and others is to clear previous frames before sending the new HTML:
player.sendPacket(new ShowBoard("", "101"));
player.sendPacket(new ShowBoard("", "102"));
player.sendPacket(new ShowBoard(html, "101"));
This forces the client to free the old HTML before displaying the new one, effectively preventing memory leaks and "Out of Memory" errors after prolonged use. Could you confirm if this approach is implemented in the Community Forum or if an equivalent cleanup mechanism already exists or can be implemented?
Thank you.
Question
I'm currently experiencing a memory issue with the Community Forum system. After browsing several BBS pages, the client crashes with the following error:
Out of memory.
FMallocWindows::Malloc <- NCHtmlTable::CreateFrame <- ...
After some investigation, it appears this is a known issue with Interlude clients, caused by the client not freeing previous HTML data when loading new pages using ShowBoard.
A common workaround I've found with L2jMobius and others is to clear previous frames before sending the new HTML:
player.sendPacket(new ShowBoard("", "101"));
player.sendPacket(new ShowBoard("", "102"));
player.sendPacket(new ShowBoard(html, "101"));
This forces the client to free the old HTML before displaying the new one, effectively preventing memory leaks and "Out of Memory" errors after prolonged use. Could you confirm if this approach is implemented in the Community Forum or if an equivalent cleanup mechanism already exists or can be implemented?
Thank you.