Java Stream From Array Python Memory