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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.89.146 with SMTP id p140mr5731788itb.35.1516611234648; Mon, 22 Jan 2018 00:53:54 -0800 (PST) X-Received: by 10.157.11.12 with SMTP id a12mr297694ota.8.1516611234489; Mon, 22 Jan 2018 00:53:54 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g80no1831173itg.0!news-out.google.com!b73ni6297ita.0!nntp.google.com!g80no1831172itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 22 Jan 2018 00:53:54 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=57.79.21.10; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 57.79.21.10 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <91915688-4a86-4dba-9b9c-973c76d1777e@googlegroups.com> Subject: Re: How to optimize use of RAM/disk access ? From: gautier_niouzes@hotmail.com Injection-Date: Mon, 22 Jan 2018 08:53:54 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Body-CRC: 1794398781 X-Received-Bytes: 1752 Xref: reader02.eternal-september.org comp.lang.ada:50051 Date: 2018-01-22T00:53:54-08:00 List-Id: It would be better to store the guessworked parameter in a config file (*) = that would be set up once per machine. These RAM - Disk things are tricky a= nyway (for instance, disk is cached in its turn by RAM!) and the RAM usage = by other processes can fluctuate massively during the run-time of your prog= ram, so even if your program thinks having the right amount at time t0 it m= ight be way off at time t1. ___ (*) shameless plug: https://sf.net/projects/ini-files/