Max size upload points from java


I upload my points with the java API:
writeApi.writePoints(bucket, org, points);

When I have a internet fail … it oculd be that there are around 50.000 points in the Arraylist … and he don´t upload … did someone know the maximum size of points for one upload?

Thank you