<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks, John.<br>
      <br>
      I have just removed the exception as before you will get a problem
      there you get surely an OOM ;)<br>
      <br>
      Kind Regards,<br>
      Peter<br>
      <br>
      On 10.06.2015 01:23, John Zhao wrote:<br>
    </div>
    <blockquote
cite="mid:CA+EBg9QVMb5Tct-hLU-9mFbosiWLmgJ1ZSUPTStztRTitZ6o3Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I am looking at the NameIndex.</div>
        <div>The pointer is long.</div>
        <div><br>
        </div>
        <div>private long bytePointer = START_POINTER;<br>
        </div>
        <div><br>
        </div>
        <div>
          <div>if (bytePointer < 0)
        {
            throw new
            IllegalStateException("Way index is too large. Cannot
            contain more than 2GB");
        }</div>
          <div><br>
          </div>
          <div>if bytePointer < 0, it could be larger than 2^63, way
            more than 2GB<br>
          </div>
          <div><br>
          </div>
          <div>
            <div class="gmail_signature"><b>Best Regards,</b>
              <div><b>ZhiQiang ZHAO</b></div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>