Loading

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

Data pubblicazione: Oct 30, 2024
Operazione

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

Fasi

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

Numero articolo Knowledge

001116227

 
Caricamento
Salesforce Help | Article