this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

java.lang.OutOfMemoryError: Java heap space Options · View
Posted: Tuesday, May 6, 2014 4:55:55 PM
Rank: Member

Joined: 2/5/2013
Posts: 27
Location: Colorado
Hello Guys,

I have been using MapForce 2013 SP1(x64) on a 64-bit Operating system ( windows 7 enterprise) for a while now and have not had issues until I experience this error recently. I had this property java update as (set ANT_OPTS=-Xms2048m -Xmx4096m) and I am still seeing this error. Has anyone seen this before and how did you resolve it. I was extracting 5 fields into a flat text file.


[java] Mapping Application
[java] Connecting to test database...
[java] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
[java] at com.altova.text.FileIO.readToEnd(Unknown Source)
[java] at com.altova.text.tablelike.Serializer.deserialize(Unknown Source)
[java] at com.altova.text.tablelike.Serializer.deserialize(Unknown Source)
[java] at com.altova.text.tablelike.Table.parse(Unknown Source)
[java] at com.altova.text.tablelike.Table.parse(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq6_if_is_filename_with_wildcard$Enumerator.moveNext_2(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq6_if_is_filename_with_wildcard$Enumerator.moveNext(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq5_map$Enumerator.moveNext_2(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq5_map$Enumerator.moveNext(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq8_CoreAny$Enumerator.moveNext_2(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq8_CoreAny$Enumerator.moveNext(Unknown Source)
[java] at com.altova.functions.Core.first(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq2_filter$Enumerator.moveNext_2(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq2_filter$Enumerator.moveNext(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq1_map$Enumerator.moveNext_2(Unknown Source)
[java] at com.mapforce.MappingMapToText_file$seq1_map$Enumerator.moveNext(Unknown Source)
[java] at com.altova.text.MFTextWriter.write(Unknown Source)
[java] at Source)
[java] at com.mapforce.MappingConsole.main(Unknown Source)

Posted: Wednesday, May 7, 2014 8:19:41 AM
Rank: Advanced Member

Joined: 8/19/2012
Posts: 149
Location: Ireland

can you not just skip the test, or use a very small file?

I do not have anything set for ant_opts and not once my build failed, eventhough I've had quite a few outputs with a lot of logic related to every single one of them...

Users browsing this topic

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.