Deutsch English Français Italiano |
<v5foms$1pv02$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: realloc() - frequency, conditions, or experiences about relocation? Date: Wed, 26 Jun 2024 00:51:40 -0000 (UTC) Organization: A noiseless patient Spider Lines: 13 Message-ID: <v5foms$1pv02$2@dont-email.me> References: <v4ojs8$gvji$1@dont-email.me> <v4ov8h$j2q2$1@raubtier-asyl.eternal-september.org> <v52270$2nli8$1@dont-email.me> <v54jac$3a4p2$1@raubtier-asyl.eternal-september.org> <v5bbd3$rhao$2@dont-email.me> <875xtyu0kk.fsf@nosuchdomain.example.com> <v5bluo$thpd$1@dont-email.me> <v5cbkn$11tla$1@dont-email.me> <v5dqa0$1eh23$12@dont-email.me> <v5dvm3$1fo3c$1@raubtier-asyl.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 26 Jun 2024 02:51:41 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d3e70b79bcb23d33c66caba9f2139d60"; logging-data="1899522"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yUG/VcmNmHM9rO2SW1g6c" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:qg+wQsWOr8RTGA5tuj/oex0j+8A= Bytes: 1875 On Tue, 25 Jun 2024 10:38:28 +0200, Bonita Montero wrote: > Am 25.06.2024 um 09:06 schrieb Lawrence D'Oliveiro: > >> I wrote a memory-hog app for Android once, and found that allocating >> large amounts of memory space had very little impact on the system. >> Then when I added code to actually write data into those allocated >> pages, that’s when it really started to break into a sweat ... > > Then android is also doing overcommit. It is running a Linux kernel, and that tends to be the default setup in Linux.