-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unreleased heap memory #68
Comments
Hi, |
Hello, could you give me more context for this problem? Like how do I replicate this issue? |
Hi guys, Thank you very much. |
Hello everyone, Unfortunately, I haven't been able to fix the problem yet. |
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
The text was updated successfully, but these errors were encountered: