Loading

How to List Filenames of a Directory with File Connector Without Running Out Of Memory in Mule 4

게시 일자: Oct 30, 2024
과업

List file names of a directory with File Connector without running out of memory in Mule 4

단계

There are a few options to avoid the OutOfMemoryError when listing files:

1. Use either the "Non-repeatable iterable" or "Repeatable in-memory iterable" streaming strategy.

Non Repeatable Streaming Strategy.jpg 
2. If you need to use the "Repeatable file store iterable (Default)" streaming strategy, configure the "In memory objects" parameter with a value large enough to accommodate all the files to be listed.

Repeatable file store iterable strategy.jpg

Knowledge 기사 번호

001116227

 
로드 중
Salesforce Help | Article