logo separator

[mkgmap-dev] Memory problems since 1245

From Du Plessis, Bennie Bennie.DuPlessis at sappi.com on Tue Oct 6 14:09:24 BST 2009

Ahh,
I made a mistake
The reason why I could not see in mapsource what I expected is because I
used the wrong input file for the one --index creation.

I make SA in a one tile map, and also in a 4 tile map, to compare &
play.

The 4 tile version worked fine, but the 1 tile map still does not
compile and returns the same ArrayIndexOutOfBounds error.
This input file is 19MB.
As for the time to return the error - approx 11 seconds 

java -ea -Xmx1000M -jar ../mkgmap-mdr-r1257.jar^
 --name-tag-list=name:af,name^
 --tdbfile^
 --description=SdAf1TM1257^
 --product-id=0003^
 --overview-mapname=SdAf1TMOView1257^
 --mapname=30000001^
 --family-name=SdAf1TMFam1257^
 --family-id=0003^
 --Region-name="SARegion"^
 --index^
 20000000.img (created with 1260)

F:\MkGMap\Use\Make200910052>time
The current time is: 15:03:42.22

F:\MkGMap\Use\Make200910052>java -ea -Xmx1000M -jar
../mkgmap-mdr-r1257.jar --name-tag-list=name:af,name --tdbfile
--description=SdA
f1TM1257 --product-id=0003 --overview-mapname=SdAf1TMOView1257
--mapname=30000001 --family-name=SdAf1TMFam1257 --family-id=0003 --Re
gion-name="SARegion" --index 20000000.img

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(BufferedImgFi
leReader.java:256)
        at
uk.me.parabola.imgfmt.app.BufferedImgFileReader.get(BufferedImgFileReade
r.java:86)
        at
uk.me.parabola.imgfmt.app.BufferedImgFileReader.getChar(BufferedImgFileR
eader.java:103)
        at
uk.me.parabola.imgfmt.app.trergn.RGNFileReader$RgnOffsets.<init>(RGNFile
Reader.java:232)
        at
uk.me.parabola.imgfmt.app.trergn.RGNFileReader$RgnOffsets.<init>(RGNFile
Reader.java:196)
        at
uk.me.parabola.imgfmt.app.trergn.RGNFileReader.getOffsets(RGNFileReader.
java:185)
        at
uk.me.parabola.imgfmt.app.trergn.RGNFileReader.pointsForSubdiv(RGNFileRe
ader.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:109)
        at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:358)
        at
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:
124)
        at uk.me.parabola.mkgmap.main.Main.main(Main.java:121)

F:\MkGMap\Use\Make200910052>time
The current time is: 15:03:53.49
Enter the new time:

Files created: SdAf1TMOView1257_mdr.img sizer 0 kb
Does this mean the input file is just too big?

The opinions contained in this message are those of the sender only and do not reflect those of Sappi Limited or any of its subsidiary or associated companies. 

"This message, including any attachment(s), may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient of this message, please notify the sender thereof and destroy/delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies, jointly referred to as 'Sappi') shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like. Any opinions, statements, conclusions and other information contained in this message and/or its attachment(s) that do not relate or refer to the official business of Sappi Limited or any of its subsidiary or associated companies shall be regarded as neither provided nor approved by any Sappi company. Views expressed in this message or its attachment(s) may not necessarily be those of Sappi and Sappi cannot be held liable for any direct or indirect loss or injury resulting from the contents of a message and/or its attachments."


Directors names

A list of Sappi companies and the names of their directors can be retrieved from http://www.sappi.com/SappiWeb/Investor+info/Corporate+governance/Board+resumes


#####################################################################################
Scanned by MailMarshal - Marshal's comprehensive email content security solution. 
Download a free evaluation of MailMarshal at www.marshal.com
#####################################################################################



More information about the mkgmap-dev mailing list