logo separator

[mkgmap-dev] Memory problems since 1245

From Du Plessis, Bennie Bennie.DuPlessis at sappi.com on Mon Oct 5 08:52:04 BST 2009

Hi,

 

I don't know where to post a ticket, but I'm sure you'll tell me if it's
the wrong forum.

 

Since version 1245 I had to increase the memory size in the MkGMap
command line

 and the virtual memory of my machine to get mkGMap to work.

(1245 was the last version I could get to work, but with the -index
switch off)

 

What am I doing wrong or is my hardware just too small?

 

Did anyone else experience a large increase in memory resource usage
since MDR & indexing was introduced?

 

I have not been able to test the results of the new dev around indexing
yet, because I am not able to compile a map

to send mapsource. It takes 3 hours to compile with these errors, so I
can barely run 2 tries per night. 

If someone can save me time with some tips, I will sincerely appreciate
it.

 

java -ea -Xmx1300M -jar mkgmap-mdr-r1257.jar (if I increase Xmx java
cannot create VM (whoever that is))

 --name-tag-list=name:af,name

 --route --remove-short-arcs

 --road-name-pois (I need this to search streets on device, but I can
remove it & build a separate map for the device if is the cause of the
problem)

 --tdbfile

 --style-file=MyStyle

 --description=01000000

 --product-id=0001

 --overview-mapname=SdAf1T1246 (should have been 1257 this time, but
will not have an effect)

 --mapname=10000000

 --family-name=GeoSdAf1T1246 (should have been 1257 this time, but will
not have an effect

 --family-id=0001

 --Region-name="SARegion"

 --generate-sea

 --ignore-osm-bounds   (If I don't use this the land & sea is reversed)

 --index

 --gmapsupp

 10000000.osm.gz  (29 MB -1644587,605843 to -885464,1677722#       :
-35.289,12.99998 to -19,36 I can reduce this, but reluctantly)

 

SdAf1T1246_mdr.img gets made; .mdx not; 10000000.img gets made; gmapsupp
not

 

Acer travelmate 4202WLMi

Intel Core Duo processor T2300

1.66 Ghz; 667Mhz FSB; 2MB L2 Cache

2 x 512DDR2 (Support dual channel)

Windows XP Home

Virtual memory Max size 5000 MB (increased to this point to try)

            Initial size 1524 MB

 

 

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -68

        at java.util.ArrayList.get(Unknown Source)

        at
uk.me.parabola.imgfmt.sys.BlockTable.physFromLogical(BlockTable.java:

112)

        at
uk.me.parabola.imgfmt.sys.Dirent.getPhysicalBlock(Dirent.java:262)

        at uk.me.parabola.imgfmt.sys.FileNode.read(FileNode.java:156)

        at
uk.me.parabola.imgfmt.app.BufferedImgFileReader.fillBuffer(BufferedIm

gFileReader.java:256)

        at
uk.me.parabola.imgfmt.app.BufferedImgFileReader.get(BufferedImgFileRe

ader.java:86)

        at
uk.me.parabola.imgfmt.app.BufferedImgFileReader.getChar(BufferedImgFi

leReader.java:103)

        at
uk.me.parabola.imgfmt.app.trergn.RGNFileReader$RgnOffsets.<init>(RGNF

ileReader.java:227)

        at
uk.me.parabola.imgfmt.app.trergn.RGNFileReader$RgnOffsets.<init>(RGNF

ileReader.java:196)

        at
uk.me.parabola.imgfmt.app.trergn.RGNFileReader.getOffsets(RGNFileRead

er.java:185)

        at
uk.me.parabola.imgfmt.app.trergn.RGNFileReader.pointsForSubdiv(RGNFil

eReader.java:70)

        at
uk.me.parabola.imgfmt.app.map.MapReader.pointsForLevel(MapReader.java

:93)

        at
uk.me.parabola.mkgmap.combiners.MdrBuilder.addPoints(MdrBuilder.java:

156)

        at
uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:1

09)

        at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:358)

        at
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.ja

va:124)

        at uk.me.parabola.mkgmap.main.Main.main(Main.java:121)

 

 

If you could not tell by now: I have no IT savvy so laymans terms &
patience required ;-\

BennieD


#####################################################################################
Scanned by MailMarshal - Marshal's comprehensive email content security solution. 
Download a free evaluation of MailMarshal at www.marshal.com
#####################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091005/f0d12541/attachment.html 


More information about the mkgmap-dev mailing list