Open pob1234 opened 1 year ago
Hi, I have also encountered a similar problem. Have you found the cause?
Hi, I have also encountered a similar problem. Have you found the cause?
Hello, could you give me more context for this problem? Like how do I replicate this issue?
Hi guys, I have same problem. Please help me.
Thank you very much.
Hello everyone,
Unfortunately, I haven't been able to fix the problem yet. I prepared a more detailed description of the problem together with a test PC application, see attachment. lwext4_problem.zip
Hello,
I found out problem with no releasing heap memory. But this problem appears only when writing into one specified file. This allocated memory is never released. It seems that every write operations allocates cca 50 bytes, which is not released. Writting to other files works correctly (but it is possible that there may be more such files with unreleasing heap memory in the file system).
During my investigation, I found that all unreleased blocks of heap memory were allocated within the following functions jbd_journal_new_trans(), jbd_trans_set_block_dirty(), jbd_trans_insert_block_rec() of the ext4_journal.c module.
The problems will disappear after preparing a version with the journaling functionality disabled (disabling CONFIG_JOURNALING_ENABLE option), but I think that this is not the right solution to this problem.
I am using configuration file of lwext4 which is attached in this issue. ext4_config.txt