Results 1 to 1 of 1
- 07-17-2009, 09:47 AM #1
Member
- Join Date
- Jul 2009
- Posts
- 1
- Rep Power
- 0
out of memory when reading a table
That should be a fairly standard question but I cant find the answer at he moment. I am writing a short script that exports tables to csv files. Naturally tables I have may be quite large (up to 1 G). If I just use
java tries to read the table in one piece and naturally runs out of memory. I guess I could do smthing likeJava Code:SELECT * FROM tableName
in a loop but that would be 1. specific to mysql only and 2. I was wondering what is a better/standard way to get around the problem.Java Code:SELECT * FROM tableName LIMIT rowStart, rowEnd
Similar Threads
-
Serialization - writing/reading to memory
By ajeeb in forum Advanced JavaReplies: 3Last Post: 01-27-2009, 03:07 PM -
how do I increase memory allocated to code cache (Non Heap Memory)
By manibhat in forum Advanced JavaReplies: 2Last Post: 08-21-2008, 07:33 PM -
Graphics Memory
By j2se.j2me in forum CLDC and MIDPReplies: 0Last Post: 05-07-2008, 06:08 AM -
Out of memory
By mew in forum New To JavaReplies: 1Last Post: 01-20-2008, 08:55 AM -
Memory
By mew in forum CLDC and MIDPReplies: 0Last Post: 12-28-2007, 11:02 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks