The java.lang.error is caused due to low heap size (RAM). In order to overcome this error, you can upgrade your plan to the next available plan. Use this
More...Heap size is a reserved memory for the data that is created at the time of execution. Each time an object is created, it is allocated with the memory from the heap space. Likewise when the object dies,
More...