Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update doc w/more gc() info and link
  • Loading branch information
earlephilhower committed Jul 26, 2019
commit a92827207ad9dfce8b844b0d1610318c74c0a643
6 changes: 4 additions & 2 deletions doc/filesystem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,10 @@ gc
SPIFFS.gc()

Only implemented in SPIFFS. Performs a quick garbage collection operation on SPIFFS,
possibly making writes perform faster in the future. Not normally needed by applications
as SPIFFS will take care of things itself on writes.
possibly making writes perform faster/better in the future. On very full or very fragmented
filesystems, using this call can avoid or reduce issues where SPIFFS reports free space
but is unable to write additional data to a file. See `this discussion
<https://github.com/esp8266/Arduino/pull/6340#discussion_r307042268>` for more info.

check
~~~~~
Expand Down