From: "Pit Linnartz" <linnartz@software-ag.de>
Subject: Re: invalid argument
Date: 1999/12/16 [thread overview]
Message-ID: <83b7fg$o1p$1@gamma.ecomp.net> (raw)
In-Reply-To: 3858a061@news.lhsgroup.com
[-- 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
>
>
prev parent reply other threads:[~1999-12-16 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-16 5:00 invalid argument Michael Sch�fer
1999-12-16 5:00 ` Pit Linnartz [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox