If the pageSize argument in paged requests is not properly capped, it can lead to excessive memory usage, especially in environments with limited resources.
When a user requests a large pageSize, the system attempts to load more data into memory at once. This can cause the application to run out of memory, potentially leading to crashes or degraded performance.
In such cases, it is crucial to cap the pageSize to avoid overwhelming the system and ensure stable operation.
Thanks to @jernicroy for bring this to my attention.
If the pageSize argument in paged requests is not properly capped, it can lead to excessive memory usage, especially in environments with limited resources.
When a user requests a large pageSize, the system attempts to load more data into memory at once. This can cause the application to run out of memory, potentially leading to crashes or degraded performance.
In such cases, it is crucial to cap the pageSize to avoid overwhelming the system and ensure stable operation.
Thanks to @jernicroy for bring this to my attention.