Steve Yurong Su created IOTDB-1392:
--------------------------------------

             Summary: Memory declaration API for UDF
                 Key: IOTDB-1392
                 URL: https://issues.apache.org/jira/browse/IOTDB-1392
             Project: Apache IoTDB
          Issue Type: Sub-task
            Reporter: Steve Yurong Su


In some common function evaluation scenarios, it may be required to cache all 
the original data in the memory, which may cause OOM. Obviously, the system 
software should not allow such behavior.

We should provide a set of API (for example, used to apply for an array with 
memory control) for user to declare memory usage. If the declared memory usage 
is higher than the limit, we should reject the UDF evaluation and then throw an 
exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to