Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* invalid argument
@ 1999-12-16  5:00 Michael Sch�fer
  1999-12-16  5:00 ` Pit Linnartz
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Sch�fer @ 1999-12-16  5:00 UTC (permalink / raw)


during a read of a 2560000000 (2.56GB) file into memory I got the error:
invalid argument. If I choose a file smaller then 2GB it works.

Before that I have fixed a problem allocating Memory for this file raising
parameter per-proc-data-siye (was 2GB, now 4GB)

I am using lazy swapping, all process parameters seam to be ok.

per-proc-stack-size = 2097152
per-proc-data-size = 4294967296
per-proc-address-space = 4294967296

Thanks for help,

Michael Schaefer





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: invalid argument
  1999-12-16  5:00 invalid argument Michael Sch�fer
@ 1999-12-16  5:00 ` Pit Linnartz
  0 siblings, 0 replies; 2+ messages in thread
From: Pit Linnartz @ 1999-12-16  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

check the datatype. any chance you aren't using size_t type.
take a look at read (2), ERROR CODE section. EINVAL names
some reason while being returned.

Pit


Michael Sch�fer wrote in message <3858a061@news.lhsgroup.com>...
>during a read of a 2560000000 (2.56GB) file into memory I got the error:
>invalid argument. If I choose a file smaller then 2GB it works.
>
>Before that I have fixed a problem allocating Memory for this file raising
>parameter per-proc-data-siye (was 2GB, now 4GB)
>
>I am using lazy swapping, all process parameters seam to be ok.
>
>per-proc-stack-size = 2097152
>per-proc-data-size = 4294967296
>per-proc-address-space = 4294967296
>
>Thanks for help,
>
>Michael Schaefer
>
>





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-16  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-16  5:00 invalid argument Michael Sch�fer
1999-12-16  5:00 ` Pit Linnartz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox