Validating a query in Administration - Queries executes the administrator's SQL in full and holds the entire result set in JVM heap, so a query returning millions of rows causes OutOfMemoryError.
STEPS TO REPRODUCE:
Expected Results: Validation is successful as it does not run the full statement
Actual Results: The statement runs in full, every row is loaded into heap, and the request thread exhausts the heap, error in app-system is java.lang.OutOfMemoryError: Java heap space.
Clarity 16.4.2, 16.4.3
DE211327
Fixed in Clarity 16.5.0
Workaround: