[exim-dev] [Bug 3047] bad internal_store_malloc request (214…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Bugzilla
Date:  
À: exim-dev
Anciens-sujets: [exim-dev] [Bug 3047] New: bad internal_store_malloc request (2147483632 bytes) from function_store_get 66
Sujet: [exim-dev] [Bug 3047] bad internal_store_malloc request (2147483632 bytes) from function_store_get 66
https://bugs.exim.org/show_bug.cgi?id=3047

--- Comment #25 from Jeremy Harris <jgh146exb@???> ---
Thanks to everyone working on this.

> After enough allocations of 128+20480 bytes (104207+ files) it exits.


Hmm, yes, that is approaching 2GB already used.
We could do a bulk-release on every subdir:

  rmark reset_point = store_mark();          // at the top of check_dir_size()
and
  store_reset(reset_point);                  // just before return at the end


Though that wouldn't help a single directory with that many files.
For that, we could count file files and (reset, take a new mark)
every (eg.) thousand files.

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/