There should be a limit either in the VI itself (right click it and choose "help", in the manual, or on the website. Of course, it all depends on the amount of memory.
Also, consider doing more than one read. Acquire a smaller amount, and read it when the buffer is full. Look into multiple buffered acquisitions for tips on this and other ways to get your data.