I am hitting some out of memory errors when using closures while similar
code with lambdas in java works ok
https://issues.apache.org/jira/browse/GROOVY-10918%E2%80%A6

I'm not sure how quickly it gets addressed so I was looking for a
workaround and I couldn't find anything quickly.
Wrapping closure code in a method didn't help for some reason.
I also tried to get rid of closures and use Function class instead, but
that didn't help either.

Would appreciate any ideas on how to work around this problem,

Thanks
Andriy

Reply via email to