Deutsch English Français Italiano |
<v5dqa0$1eh23$12@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!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: Tue, 25 Jun 2024 07:06:41 -0000 (UTC) Organization: A noiseless patient Spider Lines: 10 Message-ID: <v5dqa0$1eh23$12@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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 25 Jun 2024 09:06:41 +0200 (CEST) Injection-Info: dont-email.me; posting-host="250b38e1e4730787d8a829a06e323428"; logging-data="1524803"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BpcorlTT9w2x8WCInWzSM" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:Y2kUbUVXf2vvvqpAaGkuvCuMYyI= Bytes: 1678 On Mon, 24 Jun 2024 18:50:15 +0100, Malcolm McLean wrote: > Baby X has bbx_malloc() which is guaranteed never to return NULL ... Does it actually allocate the (physical) memory? 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 ...