@gigasquid in order to solve this issue. I done two things:

1. Restricted `toArray` method with maximum length to `100000`
2. Rewrite the `toString` method to optimize memory space as well as take a 
small portion of large output if the output array is too large

[ Full content available at: 
https://github.com/apache/incubator-mxnet/pull/12536 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to