Saturday, December 29, 2012

Increase Java heap size for Oracle Map Builder


While working with Oracle Map Builder , When I tried Zoom in and Zoom out options  I got the error as follows .
Exception in thread “Thread-15″ java.lang.OutOfMemoryError: Java heap space
Exception in thread “Thread-14″ java.lang.OutOfMemoryError: Java heap space
It means Map builder requires more heap memory to load spatial data .
Open the command line and start the Map Builder application as follows .
java -jar -Xmx1024M D:\mapbuilder.jar (we allocated 1GB of maximum space)