GET request return 500 internal server error with max_num -1

In Account, we have 2x,xxx cases inside 

Someone can access this account and work find but someone got return 500 Unknown Error and cannot work on the account

It happens only account with too many cases

It looks like max_num -1 causes this problem who request with max_num -1 will always return an error

In php log, return exhausted memory

I also try to soft delete the users_last_states and user_preferences row on affected user, but not working. 

Maybe some users preference that need to be reset.

The request that caused the problem

GET rest/v11_24/Accounts/{account_id}/link/cases?erased_fields=true&fields=name%2Caccount_id%2Cid%2Cstatus%2Cmy_favorite&max_num=-1

Any suggestions to prevent this issue? 

Sugar Ent 14.0.0 On-site

Thanks 

Parents Reply Children
No Data