-
trying to use Memory Mapped buffer..
Is there a way to expand MappedByteBuffer as i put more and more data in the buffer? i have several procedures that accesses a file, retrieves and writes data to it. But i am trying to modify this procedure to read a MappedByteBuffer instead to minimize disc access. Reading works fine, but i am having trouble writing to it because it requires me to allocate the size of the file and i don't really know how big the final file will get. What should i do in this case?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks