Holger Stenzhorn wrote:
...
Therefore setting the heap size correctly for the test class resulted in the solution of the issue for the file at hand. ...but in any case, if such file grows larger and larger then at some point the described OOME will (most likely) occur again.
Have you tried larger files Holger? Your program does not seem to be holding references (nor do classes referenced such as TableOutputFormat or TextInputFormat) so I'm thinking that once you've set your heap to accomodate your programs' steady-state, you should be able to run with bigger files without OOME'ing.

St.Ack

Reply via email to