The Artima Developer Community
Sponsored Link

Java Answers Forum
how to dynamically read a very large file?

1 reply on 1 page. Most recent reply: Nov 5, 2003 12:10 AM by Alex S

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Ding Xi

Posts: 1
Nickname: cntomcom
Registered: Nov, 2003

how to dynamically read a very large file? Posted: Nov 3, 2003 6:43 AM
Reply to this message Reply
Advertisement
In my program, a large file is read in and parsed by a particular parser, but the file is always too large to cause "out of memory".
So I want to dynamically read in part of the file and parse it.


Alex S

Posts: 27
Nickname: andu
Registered: Mar, 2003

Re: how to dynamically read a very large file? Posted: Nov 5, 2003 12:10 AM
Reply to this message Reply
Use RandomAccessFile class.

Flat View: This topic has 1 reply on 1 page
Topic: Synchronization in Java Previous Topic   Next Topic Topic: making indexs based upon concatenated fields

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use