[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-84290-en":3,"doc-seo-84290-105":30,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},84290,1374391974585,"Genevieve","https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c",8,"Research & Report","The Memory Wall of Green Software: Empirical Energy Evaluation of Memento Design Pattern","Energy efficiency has become a mission-critical non-functional requirement in Green Software Engineering, yet software design patterns can add an implicit “metabolic cost” that is often hidden during design. This paper empirically evaluates the Memento design pattern by comparing an unabstracted baseline with Classic full-snapshot and Differential delta-encoding strategies. Using Intel RAPL hardware telemetry, it quantifies energy dissipation from 10–200 MB, revealing a sustainability sweet spot up to 100 MB and a memory wall near 200 MB driven by GC thrashing and power spikes. Evidence-based heuristics guide sustainable architecture decisions.","This is the authors’ original preprint version of a paper accepted for publication at the International Conference on Advanced Materials for Sustainable Energy and Engineering (ICAMSEE 2026), Ifrane, Morocco, May 19–21, 2026 . The final version will be published in the  \nconference proceedings (indexed by Scopus) .  \narXiv :2607 .07944v 1 [ cs . SE] 8 Jul 2026  \nThe Memory Wall of Green Software: Empirical Energy Evaluation of Memento Design Pattern  \nImane JRIRI 1 , Tarik HOUICHIME2 , and Younes EL AMRANI 1  \n1 LRIT, Faculty of Science, Mohammed V University In Rabat, Rabat, 10112, Morocco  \n2 Meridian Team, LyRICA Laboratory, School of Information Sciences, Rabat 10100, Morocco  \nimane [jriri@um5.ac.ma](jriri@um5.ac.ma) , [thouichime@esi.ac.ma](thouichime@esi.ac.ma) , [y.elamrani@um5r.ac.ma](y.elamrani@um5r.ac.ma)  \n[Abstract.](Abstract. As Green Software Engineering matures)[ As Green Software Engineering matures](Abstract. As Green Software Engineering matures), [energy efficiency](energy efficiency)[ ](energy efficiency)[has transitioned into a mission-critical non-functional requirement. While](has transitioned into a mission-critical non-functional requirement. While)[ ](has transitioned into a mission-critical non-functional requirement. While)software design patterns ensure structural integrity, their inherent abstraction layers impose an implicit “metabolic cost” that often remains obscured during the design phase. This paper empirically investigates the energy dynamics of the Memento design pattern, contrasting a direct, unabstracted baseline against Classic full-snapshot and Differential delta-encoding strategies. Leveraging the RAPL interface for high-fidelity hardware telemetry, we quantify energy dissipation across state volumes scaling from 10 MB to 200 MB. Our empirical results expose a critical architectural trade-off: the Differential strategy minimizes memory traffic, yielding a maximum energy reduction of 65.8% for mid-scale states, but collides with a catastrophic “memory wall” at 200 MB. At this saturation point, algorithmic optimizations are completely neutralized by severe GC thrashing and non-linear power spikes. We synthesize these findings into evidence-based heuristics, providing architects with a robust framework to reconcile structural design quality with sustainable Green IT imperatives.  \nKeywords: Green IT, Energy Efficiency, Memento Pattern, Memory Wall, Software Sustainability, RAPL Telemetry, Managed Runtimes, Garbage Collection, Empirical Software Engineering, Design Patterns.  \n1 Introduction  \nEnergy efficiency has evolved from a peripheral operational metric to a primary design constraint in sustainable computing. While hardware-level interventions like Dynamic Voltage and Frequency Scaling (DVFS) effectively mitigate peak power consumption, empirical literature demonstrates that software architectural decisions establish the baseline energy footprint—often eclipsing the marginal gains of hardware optimizations [1,2] . Fundamentally, software dictates the metabolic rate of underlying resources. Although design patterns provide essential scaffolding for software modularity [4], these abstractions are rarely energy-neutral. In managed runtimes, layers of indirection incur a measurable  \nThis is the preprint version of a paper accepted for publication at ICAMSEE 2026 . The final version will appear in the official conference  \nproceedings (indexed by Scopus) .  \n2 I. Jriri et al.  \nruntime overhead that is systematically underrepresented in design-time decisionmaking [5,6] . This study isolates the Memento pattern, the ubiquitous paradigm for state recovery. Production implementations typically adopt either a Classic full-state snapshot approach or a Differential variant leveraging delta encoding. While the Differential approach is favored for its minimal memory footprint, its true thermodynamic implications remain ambiguous. Specifically, does the CPU overhead of delta computation justify","cbCaintM56MPQfjR","https://ap.wps.com/l/cbCaintM56MPQfjR","pdf",366367,5,1,6,"English","en",105,"# Introduction\n# Related Work\n# Empirical Evaluation","[{\"question\":\"What problem does the paper address about Green Software Engineering?\",\"answer\":\"It addresses how energy efficiency can be compromised by software abstractions in design patterns, which introduce an implicit metabolic cost often overlooked at design time.\"},{\"question\":\"How is the Memento design pattern evaluated in the study?\",\"answer\":\"The paper compares three implementations: an unabstracted baseline, Classic full-state snapshots, and a Differential delta-encoding strategy.\"},{\"question\":\"What is the “memory wall” finding and when does it occur?\",\"answer\":\"It occurs around the 150–200 MB state size range, where Differential encoding triggers severe Generation 2 GC thrashing, causing energy consumption to invert and exceed the Classic approach.\"}]",1784194613,15,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":28},"the-memory-wall-of-green-software-empirical-energy-evaluation-of-memento-design-pattern","",{"@graph":36,"@context":86},[37,54,69],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/the-memory-wall-of-green-software-empirical-energy-evaluation-of-memento-design-pattern/84290/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":24,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-07-26","2026-07-16",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"What problem does the paper address about Green Software Engineering?","Question",{"text":76,"@type":77},"It addresses how energy efficiency can be compromised by software abstractions in design patterns, which introduce an implicit metabolic cost often overlooked at design time.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"How is the Memento design pattern evaluated in the study?",{"text":81,"@type":77},"The paper compares three implementations: an unabstracted baseline, Classic full-state snapshots, and a Differential delta-encoding strategy.",{"name":83,"@type":74,"acceptedAnswer":84},"What is the “memory wall” finding and when does it occur?",{"text":85,"@type":77},"It occurs around the 150–200 MB state size range, where Differential encoding triggers severe Generation 2 GC thrashing, causing energy consumption to invert and exceed the Classic approach.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":93},[94,98,102,106,110,114,119,122,127,130,134],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},"Comic",60,"comic",{"id":22,"doc_module":4,"doc_module_name":46,"category_name":111,"show_sort_weight":112,"slug":113},"Technology",50,"technology",{"id":115,"doc_module":4,"doc_module_name":46,"category_name":116,"show_sort_weight":117,"slug":118},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":20,"slug":137},19,"General","general"]