Following patch for plugins/format/address.inc will lower memory requirements when listing hundreds of address fields with views.

Patch marked beta 2 but present also in beta3 :)

Comments

tcmug’s picture

Apologies, I fuxored up the patch. Heres another go:

rszrama’s picture

Title: Memory usage improvement » Reduce memory usage when formatting multiple addresses with static country code arrays
Version: 7.x-1.0-beta2 » 7.x-1.x-dev
Category: bug » task
Status: Needs review » Fixed

Committed, but I moved the static array definitions to be inline with their if statements and used semantic variable names so it's very clear what we're doing.

Commit: http://drupalcode.org/project/addressfield.git/commitdiff/86aa139

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.