-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Simple expression for i in 1..1000000000 return i * i
can cause performance issue or even bring service down.
Is there a way/plan to limit memory that can be allocated via expressions?
Spring SPEL had similar issues (related to collection growth etc):
- Make maximum SpEL expression length configurable spring-projects/spring-framework#30380
- Spring-context optimization: LinkedMultiValueMap and ArrayList should be initialized with specified capacity for preventing collections from resizing [SPR-17079] spring-projects/spring-framework#21616
- Limit string concatenation in SpEL expressions spring-projects/spring-framework#30332
- Increase max regex length in SpEL expressions spring-projects/spring-framework#30265
I guess similar restrictions should apply to FEEL.
Metadata
Metadata
Assignees
Labels
No labels