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


Groups > comp.lang.java.programmer > #8084 > unrolled thread

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

Started byzigzagdna <zigzagdna@yahoo.com>
First post2011-09-16 12:18 -0700
Last post2011-09-19 17:22 +0000
Articles 4 on this page of 24 — 12 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  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 Arne Vajhøj <arne@vajhoej.dk> - 2011-11-07 21:22 -0500
                    Re: Is there  a file limit size of 2GB in JDK 1.5 supercalifragilisticexpialadiamaticonormalizeringelimatisticantations <supercalifragilisticexpialadiamaticonormalizeringelimatisticantations@averylongandannoyingdomainname.com> - 2011-11-07 22:20 -0500
                      Re: Is there  a file limit size of 2GB in JDK 1.5 spk <jhic@speak.invalid> - 2011-11-08 01:32 -0400
                        Re: Is there  a file limit size of 2GB in JDK 1.5 thoolen <th00len@th0lenbot.thorium> - 2011-11-08 15:56 -0500
                      Re: Is there  a file limit size of 2GB in JDK 1.5 Roedy Green <see_website@mindprod.com.invalid> - 2011-11-08 06:54 -0800
                        Re: Is there  a file limit size of 2GB in JDK 1.5 Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-11-08 21:03 -0500
                          Re: Is there  a file limit size of 2GB in JDK 1.5 Gene Wirchenko <genew@ocis.net> - 2011-11-08 19:11 -0800
    Re: Is there  a file limit size of 2GB in JDK 1.5 Tom <tom400f@gmail.com> - 2011-09-19 17:22 +0000

Page 2 of 2 — ← Prev page 1 [2]


#9781

FromRoedy Green <see_website@mindprod.com.invalid>
Date2011-11-08 06:54 -0800
Message-ID<nhgib7tlk59pd6v127er0gu5kssmtafjuf@4ax.com>
In reply to#9769
Java has used longs 64 bit addressing for files since day 1.  Some
older platforms had their own limits, but they did not come from Java.

that gives you files up to 9,223,372,036,854,775,807  bytes.
9 exabytes.  Not likely to be a problem any time soon.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Capitalism has spurred the competition that makes CPUs faster and 
faster each year, but the focus on money makes software manufacturers 
do some peculiar things like deliberately leaving bugs and deficiencies
in the software so they can soak the customers for upgrades later.
Whether software is easy to use, or never loses data, when the company
has a near monopoly, is almost irrelevant to profits, and therefore 
ignored. The manufacturer focuses on cheap gimicks like dancing paper 
clips to dazzle naive first-time buyers. The needs of existing 
experienced users are almost irrelevant. I see software rental as the 
best remedy.

[toc] | [prev] | [next] | [standalone]


#9792

FromEric Sosman <esosman@ieee-dot-org.invalid>
Date2011-11-08 21:03 -0500
Message-ID<j9cn40$mht$1@dont-email.me>
In reply to#9781
On 11/8/2011 9:54 AM, Roedy Green wrote:
> Java has used longs 64 bit addressing for files since day 1.  Some
> older platforms had their own limits, but they did not come from Java.
>
> that gives you files up to 9,223,372,036,854,775,807  bytes.
> 9 exabytes.  Not likely to be a problem any time soon.

     Quoth Wikitedium:

	According to CSIRO, in the next decade, astronomers expect to
	be processing 10 petabytes of data every hour from the Square
	Kilometre Array (SKA) telescope. The array is thus expected to
	generate approximately one exabyte every four days of
	operation. According to IBM, the new SKA telescope initiative
	will generate over an exabyte of data every day.

The same article has other rather startling estimates of present-day
data capacities and rates.  Some appear to contradict each other, by
as much as 1-1.5 decimal orders of magnitude, but the overall burden
is clear: "64 bits" is not a synonym for "forever."

-- 
Eric Sosman
esosman@ieee-dot-org.invalid

[toc] | [prev] | [next] | [standalone]


#9793

FromGene Wirchenko <genew@ocis.net>
Date2011-11-08 19:11 -0800
Message-ID<aerjb752djm71ftssieelrmvdp28qdfpdb@4ax.com>
In reply to#9792
On Tue, 08 Nov 2011 21:03:51 -0500, Eric Sosman
<esosman@ieee-dot-org.invalid> wrote:

[snip]

>The same article has other rather startling estimates of present-day
>data capacities and rates.  Some appear to contradict each other, by
>as much as 1-1.5 decimal orders of magnitude, but the overall burden
>is clear: "64 bits" is not a synonym for "forever."

     Fortunately, we have zetta- and yotta-.  There have been
suggestions for other prefixes beyond these, but I understand that
none of them have been officially adopted as SI.

Sincerely,

Gene Wirchenko

[toc] | [prev] | [next] | [standalone]


#8156

FromTom <tom400f@gmail.com>
Date2011-09-19 17:22 +0000
Message-ID<pan.2011.09.19.17.22.53@gmail.com>
In reply to#8084
On Fri, 16 Sep 2011 12:18:16 -0700, zigzagdna wrote:

> I am on HP UNIX 11.2 which is 64 bit operating system. I am using JDK
> 1.5 and using Java's File i/o to write my trace information to a file. I
> noticed that even though my program is running, it stopped writing any
> more information once trace file became 2GB.
> 
> 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).

Is there a process limit in force? What does ulimit -a say ?

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.java.programmer


csiph-web