Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8088

Re: Is there a file limit size of 2GB in JDK 1.5

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Is there a file limit size of 2GB in JDK 1.5
Date 2011-09-16 14:28 -0700
Organization Canadian Mind Products
Message-ID <lkf777dkq07uvrk47uo8gmt3lr3sabtarl@4ax.com> (permalink)
References <bcbd98af-9389-4bc8-a149-86c005111c42@h7g2000yqm.googlegroups.com>

Show all headers | View raw


On Fri, 16 Sep 2011 12:18:16 -0700 (PDT), zigzagdna
<zigzagdna@yahoo.com> wrote, quoted or indirectly quoted someone who
said :

>It cannot be HP UNIX limitation which is 64 bit, also file systems
>have been set to allow files larger than 2GB. I am surprise that
>java's i/o is 32 bit (yes java's version is most likely 32 bit).

hmm.  Java itself uses longs (64 bits) for file offsets. There is some
native code that java.io. uses to hook into the OS.  It might be
designed for an older 32-bit HP API.  Or it may be that partitions are
old, 32-bit even under the new 64-bit os. You may have to reformat
them to free up 64 bit power.

Try an experiment with C to see if it too has this limit on that
partition.

Consider that Java 1.5 has been declared obsolete for quite some time
now.  JDK 1.7 is out.  Try your code with 1.7 and see how it works.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Your top priority should be fixing bugs. If you carry on development, 
you are just creating more places you will have to search for them.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Is there  a file limit size of 2GB in JDK 1.5 zigzagdna <zigzagdna@yahoo.com> - 2011-09-16 12:18 -0700
  Re: Is there  a file limit size of 2GB in JDK 1.5 Roedy Green <see_website@mindprod.com.invalid> - 2011-09-16 14:28 -0700
    Re: Is there  a file limit size of 2GB in JDK 1.5 Arne Vajhøj <arne@vajhoej.dk> - 2011-09-19 22:08 -0400
      Re: Is there  a file limit size of 2GB in JDK 1.5 supercalifragilisticexpialadiamaticonormalizeringelimatisticantations <supercalifragilisticexpialadiamaticonormalizeringelimatisticantations@averylongandannoyingdomainname.com> - 2011-09-21 18:24 -0400
        Re: Is there  a file limit size of 2GB in JDK 1.5 Arne Vajhøj <arne@vajhoej.dk> - 2011-09-21 20:25 -0400
          Re: Is there  a file limit size of 2GB in JDK 1.5 Lew <lewbloch@gmail.com> - 2011-09-21 17:52 -0700
            Re: Is there  a file limit size of 2GB in JDK 1.5 Patricia Shanahan <pats@acm.org> - 2011-09-21 18:53 -0700
          Re: Is there  a file limit size of 2GB in JDK 1.5 Jane Doe <jdoe@love.in.d.jungle.invalid> - 2011-09-22 13:13 +0000
            Re: Is there  a file limit size of 2GB in JDK 1.5 thoolen <th00len@th0lenbot.thorium> - 2011-09-22 08:59 -0400
            Re: Is there  a file limit size of 2GB in JDK 1.5 Lew <lewbloch@gmail.com> - 2011-09-22 08:47 -0700
              Re: Is there  a file limit size of 2GB in JDK 1.5 Jane Doe <jdoe@love.in.d.jungle.invalid> - 2011-09-22 21:40 +0000
                Re: Is there  a file limit size of 2GB in JDK 1.5 Lew <lewbloch@gmail.com> - 2011-09-22 18:03 -0700
                Re: Is there  a file limit size of 2GB in JDK 1.5 thoolen <th00len@th0lenbot.thorium> - 2011-09-23 05:51 -0400
          Re: Is there  a file limit size of 2GB in JDK 1.5 supercalifragilisticexpialadiamaticonormalizeringelimatisticantations <supercalifragilisticexpialadiamaticonormalizeringelimatisticantations@averylongandannoyingdomainname.com> - 2011-09-22 09:01 -0400
            Re: Is there  a file limit size of 2GB in JDK 1.5 Arne Vajhøj <arne@vajhoej.dk> - 2011-09-22 21:23 -0400
              Re: Is there  a file limit size of 2GB in JDK 1.5 supercalifragilisticexpialadiamaticonormalizeringelimatisticantations <supercalifragilisticexpialadiamaticonormalizeringelimatisticantations@averylongandannoyingdomainname.com> - 2011-09-23 05:46 -0400
  Re: Is there  a file limit size of 2GB in JDK 1.5 Tom <tom400f@gmail.com> - 2011-09-19 17:22 +0000

csiph-web