how to solve javascript out of memory - Convex Community