01-04-2024 03:28 AM
Hi everybody,
I found that when alfresco is executing the logic of this api (/nodes/{nodeId}/children) is that it will query all the data first and then save the data in memory or on disk before paging. (Please correct me if I am wrong).
This logic takes a lot of memory, is there any other way to avoid this?
01-09-2024 11:01 AM
Hi AidenZ,
The ReST API which you are using has many optional parameters to narrow down your search, if you are looking for only documents or folder of specific type. If that is not the case and you want all the children of a folder then you can use 'fields' parameter to restrict the fields of nodes in the response, only to save on bandwidth.
If the volume of a folder is high then you have to bear with it as Alfresco recommends to have as many as 5k nodes within a folder.
Explore our Alfresco products with the links below. Use labels to filter content by product module.