This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[FDS] Unable to free storage (garbage collector doesn't work)

No matter flash is full or not, calling fds_file_delete() and fds_gc() does not free storage. We checked the content in flash are not 0xFF. Moreover, after this issue, always fail to create files or records.

Parents
  • Hi Petter, Ans 1: What we are doing is to implement a database, based on FDS. Therefore, files/records need to be deleted, if no more space available. However, gc cannot free FLASH space, even if file deletion completes successfully.

    Ans 2: We use SDK12.3

    Ans 3: Yes, we got it.

    Ans 4: Yes, it is initiated by original SDK. We didn't modify it. But we don't activate Peer MGR functions.

Reply
  • Hi Petter, Ans 1: What we are doing is to implement a database, based on FDS. Therefore, files/records need to be deleted, if no more space available. However, gc cannot free FLASH space, even if file deletion completes successfully.

    Ans 2: We use SDK12.3

    Ans 3: Yes, we got it.

    Ans 4: Yes, it is initiated by original SDK. We didn't modify it. But we don't activate Peer MGR functions.

Children
No Data
Related