From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,49eb370bfd3baa90 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news-out.ntli.net!newsrout1-gui.ntli.net!ntli.net!newsfe3-gui.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: Re: Memory limits in Ada where Fortran has none User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.lang.ada References: <1110070479.250902.220540@l41g2000cwc.googlegroups.com> <1110155485.966558.145830@l41g2000cwc.googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Mon, 07 Mar 2005 12:47:47 GMT NNTP-Posting-Host: 81.100.88.147 X-Complaints-To: http://www.ntlworld.com/netreport X-Trace: newsfe3-gui.ntli.net 1110199667 81.100.88.147 (Mon, 07 Mar 2005 12:47:47 GMT) NNTP-Posting-Date: Mon, 07 Mar 2005 12:47:47 GMT Organization: ntl Cablemodem News Service Xref: g2news1.google.com comp.lang.ada:8806 Date: 2005-03-07T12:47:47+00:00 List-Id: On Sun, 06 Mar 2005 16:31:25 -0800, braver wrote: > Adrian -- sounds extremely interesting! Can you please provide an > example of using mmap with a 1.9 GB array from Ada? I have sent you a couple of (scrappy) code samples. One uses a sentinel(?) to find where in memory the end of a record is when GNAT record size and attributes are exceeded. The other uses Florist memory mapping to access arrays up to the mmap limit (just under 2GB on my system (:()) Let us know how you get on! -- Adrian