-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: Instructions, SolarUser
-
None
The SolarUser APIs for instructions like /instr/viewActive and /instr/viewPending return all available entities. If a very larger number of entities match the query parameters, an Out Of Memory error can occur because the results are not limited and all loaded into memory.
This ticket should at least enforce a maximum limit to those query results to prevent the OOM error from occurring. Additionally it would be better to offer a streaming result API so the full results can actually be queried and returned without causing an OOM error.