Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Is there a file limit size of 2GB in JDK 1.5

Reply
Thread Tools

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

 
 
zigzagdna
Guest
Posts: n/a
 
      09-16-2011
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).
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      09-16-2011
On Fri, 16 Sep 2011 12:18:16 -0700 (PDT), zigzagdna
<> 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.

 
Reply With Quote
 
 
 
 
Tom
Guest
Posts: n/a
 
      09-19-2011
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 ?
 
Reply With Quote
 
Arne Vajhøj
Guest
Posts: n/a
 
      09-20-2011
On 9/16/2011 5:28 PM, Roedy Green wrote:
> On Fri, 16 Sep 2011 12:18:16 -0700 (PDT), zigzagdna
> <> 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.


HP-UX != Windows

HP-UX Java 1.5 is not obsolete. I don't even think HP has announced an
EOL date. HP-UX Java 1.4.2 will be obsolete May 1st 2012.

http://bizsupport2.austin.hp.com/bc/.../c02690385.pdf

HP-UX Java 1.7 is not available yet.

Arne

 
Reply With Quote
 
supercalifragilisticexpialadiamaticonormalizeringelimatisticantations
Guest
Posts: n/a
 
      09-21-2011
On 19/09/2011 10:08 PM, Arne Vajhøj wrote:
> On 9/16/2011 5:28 PM, Roedy Green wrote:
>> 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.

>
> HP-UX != Windows
>
> HP-UX Java 1.5 is not obsolete. I don't even think HP has announced an
> EOL date. HP-UX Java 1.4.2 will be obsolete May 1st 2012.


That just means that HP-UX is behind the times, not that Java 1.5 isn't.
 
Reply With Quote
 
Arne Vajhøj
Guest
Posts: n/a
 
      09-22-2011
On 9/21/2011 6:24 PM,
supercalifragilisticexpialadiamaticonormalizeringe limatisticantations wrote:
> On 19/09/2011 10:08 PM, Arne Vajhøj wrote:
>> On 9/16/2011 5:28 PM, Roedy Green wrote:
>>> 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.

>>
>> HP-UX != Windows
>>
>> HP-UX Java 1.5 is not obsolete. I don't even think HP has announced an
>> EOL date. HP-UX Java 1.4.2 will be obsolete May 1st 2012.

>
> That just means that HP-UX is behind the times, not that Java 1.5 isn't.


It means that Java 1.5 is not obsolete and fully supported by the
vendor on HP-UX.

Which is the relevant facts.

Arne

 
Reply With Quote
 
Lew
Guest
Posts: n/a
 
      09-22-2011
Arne Vajhøj wrote:
> supercalifragilisticexpialadiamaticonormalizeringe limatisticantations wrote:
>> Arne Vajhøj wrote:
>>> Roedy Green wrote:
>>>> 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.
>>>
>>> HP-UX != Windows
>>>
>>> HP-UX Java 1.5 is not obsolete. I don't even think HP has announced an
>>> EOL date. HP-UX Java 1.4.2 will be obsolete May 1st 2012.

>>
>> That just means that HP-UX is behind the times, not that Java 1.5 isn't.

>
> It means that Java 1.5 is not obsolete and fully supported by the
> vendor on HP-UX.
>
> Which is the relevant facts.


Oracle has declared only their own version of Java 5 obsolete. Other vendors are free to do otherwise. Arne is, as usual, correct.

--
Lew

 
Reply With Quote
 
thoolen
Guest
Posts: n/a
 
      09-22-2011
On 22/09/2011 9:13 AM, "Jane Doe", an obvious murphy sock, wrote:
NaN> Newsgroups: comp.lang.java.programmer

NaN> You ever find Derbysire (Seamus) being solid on Fact?

Who is "Derbyshire (Seamus)", murphy? There is nobody in this newsgroup
using that alias.

NaN> I will save you the keystrokes.

What does your classic erroneous presupposition that you're saving
people keystrokes by adding one more off-topic article for them to mark
read or hit control-K on have to do with Java, murphy?

NaN> No.

What does your denial have to do with Java, murphy?

"I had 'volunteered (years back) to support those who do endeavor
to provide free Free Usenet access, support those who offered
subscription based Free Usenet access, nothing more than
cooperation expected in return for what has been many
thousands of hours of work. I note most of those I joined with
are either deceased, severely disabled, or plain ole' MIA..
now it is my Time. ...

You just read my last. ...

For those who think they see me in future times I can only wish
you severe Tinnitus in your dreams. For those who know me
well (eMail, whatever) and see me, know I will be smiling also.
It is to you I say "adieu mein frenz and adios .. grazie' [hugs]
for all the Good Times! May you and yours always bear well
with all Life brings you".

/0ut"
--murphy

http://www.uffnet.com/kookkamp/goodbye.htm

And people wonder why I call them Famous Last Words.

P.S. You forgot to include a copy of your famous paranoid "Lits o' Haet"
in your post, murphy. Still suffering from memory problems, murphy?
 
Reply With Quote
 
supercalifragilisticexpialadiamaticonormalizeringelimatisticantations
Guest
Posts: n/a
 
      09-22-2011
On 21/09/2011 8:25 PM, Arne Vajhøj wrote:
> supercalifragilisticexpialadiamaticonormalizeringe limatisticantations
>> On 19/09/2011 10:08 PM, Arne Vajhøj wrote:
>>> HP-UX Java 1.4.2 will be obsolete May 1st 2012.

>>
>> That just means that HP-UX is behind the times, not that Java 1.5 isn't.

>
> It means that Java 1.5 is not obsolete and fully supported by the
> vendor on HP-UX.


Which just means that that vendor is behind the times. Of course, since
it's a proprietary Unix vendor, that's hardly surprising.
 
Reply With Quote
 
Jane Doe
Guest
Posts: n/a
 
      09-22-2011
Arne Vajhøj <>, wrote:

>On 9/21/2011 6:24 PM,
>supercalifragilisticexpialadiamaticonormalizering elimatisticantations wrote:
>> On 19/09/2011 10:08 PM, Arne Vajhøj wrote:
>>> On 9/16/2011 5:28 PM, Roedy Green wrote:
>>>> 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.
>>>
>>> HP-UX != Windows
>>>
>>> HP-UX Java 1.5 is not obsolete. I don't even think HP has announced an
>>> EOL date. HP-UX Java 1.4.2 will be obsolete May 1st 2012.

>>
>> That just means that HP-UX is behind the times, not that Java 1.5 isn't.

>
>It means that Java 1.5 is not obsolete and fully supported by the
>vendor on HP-UX.
>
>Which is the relevant facts.
>
>Arne


You ever find Derbysire (Seamus) being solid on Fact?
I will save you the keystrokes.

No.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't use JDK 1.4 jar file (javax.crypto) in JDK 1.3 Dundonald Java 8 10-05-2007 01:15 AM
Can't format my 2GB SD card to be 2GB tyler.parke@gmail.com Digital Photography 1 08-21-2006 06:23 PM
RAM - 2gb becomes 4gb becomes 2gb b Computer Support 10 04-27-2006 11:58 PM
c program, file size limit, how to solve? 2G bytes limit. guru.slt@gmail.com C++ 1 06-27-2005 11:05 PM
Is There Really A 1.2GB Limit For .NET? Iblix ASP .Net 4 04-16-2004 10:00 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57