You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened and what you expected to happen:
When using the lpad and rpad functions with a large numeric value as the argument in eKuiper, the application crashes due to excessive memory usage. This issue arises when the specified argument is exceptionally large, causing eKuiper to consume an excessive amount of memory, ultimately leading to a crash. To address this, a potential fix could be to implement a validation check within the lpad and rpad functions to throw an error when the second argument exceeds a certain size, thus preventing excessive memory consumption and subsequent crashes.
In my use case i was collecting data with EdgeX and i eKuiper i have a simple rule that uses function rpad(A,B) with twa variables. Some times the B variable value is very large and ekuiper crashes due to excessive memory usage
How to reproduce it (as minimally and precisely as possible): SELECT lpad(A,B) as comp_result from source where B is a very large number
Or SELECT rpad(A,125012521102) as comp_result from source
The text was updated successfully, but these errors were encountered:
Environment:
What happened and what you expected to happen:
When using the lpad and rpad functions with a large numeric value as the argument in eKuiper, the application crashes due to excessive memory usage. This issue arises when the specified argument is exceptionally large, causing eKuiper to consume an excessive amount of memory, ultimately leading to a crash. To address this, a potential fix could be to implement a validation check within the lpad and rpad functions to throw an error when the second argument exceeds a certain size, thus preventing excessive memory consumption and subsequent crashes.
In my use case i was collecting data with EdgeX and i eKuiper i have a simple rule that uses function
rpad(A,B)
with twa variables. Some times the B variable value is very large and ekuiper crashes due to excessive memory usageHow to reproduce it (as minimally and precisely as possible):
SELECT lpad(A,B) as comp_result from source
where B is a very large numberOr
SELECT rpad(A,125012521102) as comp_result from source
The text was updated successfully, but these errors were encountered: