-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memory issues #3
Comments
How much RAM does your machine have ? |
I changed the code in my fork to dump output to file at every 10k lines, then reset the ArrayList and StringBuffer to save memory. |
Would you mind to send me PR ? Any improvement is welcome! |
@vbhavsingh ping :) a PR would serve all users and credit you for your work! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does not work with large tables.
19.01.2018 14:08:07 [INF]: converting data to CSV (one dot corresponds with 50k lines).......Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOfRange(Arrays.java:2694)
at java.lang.String.(String.java:203)
at java.lang.StringBuilder.toString(StringBuilder.java:405)
at sqldump.etl.Dump.toFile(Dump.java:93)
at sqldump.etl.Query.executeQuery(Query.java:221)
at sqldump.etl.Query.getDataFromSQLFile(Query.java:62)
at sqldump.SQLDump.run(SQLDump.java:89)
at sqldump.Main.main(Main.java:7)
The text was updated successfully, but these errors were encountered: